body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    color: #3f1d2e;
    background:
        radial-gradient(circle at 12% 8%, rgba(251, 113, 133, 0.22), transparent 28%),
        radial-gradient(circle at 88% 16%, rgba(244, 114, 182, 0.18), transparent 30%),
        linear-gradient(180deg, #fff1f2 0%, #fff7ed 42%, #fdf2f8 100%);
}

/* Stepper */
.booking-stepper { display:flex; gap:0.5rem; align-items:center; margin-bottom:1rem; }
.booking-stepper .booking-step { display:inline-flex; align-items:center; gap:0.6rem; padding:0.45rem 0.7rem; border-radius:0.75rem; background:transparent; border:1px solid rgba(253,164,175,0.18); font-weight:700; color:#4c0519; }
.booking-stepper .booking-step span { display:inline-grid; width:1.6rem; height:1.6rem; place-items:center; border-radius:50%; background:linear-gradient(135deg,#fff,#ffeef0); color:#be123c; font-weight:900; }
.booking-stepper .booking-step.active { background:linear-gradient(135deg,#fff7f8,#fff); box-shadow:0 8px 22px rgba(190,18,60,0.06); }
.booking-stepper .booking-step.complete { background:linear-gradient(135deg,#ecfdf5,#bbf7d0); border-color:rgba(16,185,129,0.12); }
.booking-stepper-current { display: none; }

@media (max-width: 640px) {
    .booking-stepper {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.3rem;
        width: 100%;
        overflow: visible;
        margin-bottom: 0.5rem;
    }

    .booking-stepper .booking-step {
        width: 100%;
        min-width: 0;
        max-width: none;
        min-height: 2.45rem;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 0.35rem 0.15rem;
        text-align: center;
    }

    .booking-stepper .booking-step span {
        width: 1.35rem;
        height: 1.35rem;
        flex: 0 0 1.35rem;
    }

    .booking-stepper .booking-step strong {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .booking-stepper-current {
        display: block;
        margin: 0 0 1rem;
        color: #be123c;
        font-size: 0.86rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
}

@media (max-width: 360px) {
    .booking-stepper .booking-step {
        min-height: 2.2rem;
        padding: 0.3rem 0.1rem;
        border-radius: 0.6rem;
    }

    .booking-stepper .booking-step span {
        width: 1.2rem;
        height: 1.2rem;
        flex-basis: 1.2rem;
    }
}


html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    color: #be123c;
}

.btn {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
    font-weight: 800;
}

.btn:hover {
    opacity: 0.94;
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #be123c, #e11d48 48%, #fb7185);
    box-shadow: 0 12px 24px rgba(190, 18, 60, 0.24);
}

.btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, #4c0519, #831843);
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    max-width: 32rem;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border: 1px solid #fecdd3;
    border-radius: 0.75rem;
    color: #4c0519;
    background: rgba(255, 255, 255, 0.9);
    outline-color: #fb7185;
}

.phone-input-group {
    display: flex;
    max-width: 32rem;
    margin-top: 0.25rem;
}

.phone-input-group .form-control,
.phone-input-group .form-select {
    margin-top: 0;
}

.phone-input-group .country-code-select {
    width: 7.5rem;
    min-width: 7.5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.phone-input-group .form-control {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

label {
    display: block;
    color: #881337;
    font-weight: 700;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-3 {
    margin-top: 1rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    border-bottom: 1px solid #fecdd3;
    padding: 0.5rem;
    text-align: left;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(253, 164, 175, 0.65);
    border-radius: 1.25rem;
    position: sticky;
    top: 1rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 30px rgba(190, 18, 60, 0.1);
    backdrop-filter: blur(12px);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #4c0519;
    text-decoration: none;
    min-width: 0;
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand small {
    color: #be123c;
    font-size: 0.78rem;
}

.brand-subtitle-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem 0.65rem;
    align-items: center;
    margin-top: 0.18rem;
}

.brand-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.28rem 0.72rem 0.28rem 0.35rem;
    color: #881337;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.01em;
    white-space: nowrap;
    background: linear-gradient(135deg, #fff 0%, #fff7ed 48%, #ffe4e6 100%);
    border: 1px solid rgba(251, 113, 133, 0.65);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(136, 19, 55, 0.1);
}

.brand-partner-badge::before {
    display: inline-grid;
    width: 1.15rem;
    height: 1.15rem;
    color: #fff;
    font-size: 0.68rem;
    content: "✓";
    background: linear-gradient(135deg, #e11d48, #881337);
    border-radius: 999px;
    place-items: center;
    box-shadow: 0 4px 10px rgba(136, 19, 55, 0.18);
}

.brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle, #fb7185 0 38%, #be123c 40% 100%);
    box-shadow: 0 10px 18px rgba(190, 18, 60, 0.28);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.site-nav a {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    color: #881337;
    font-weight: 700;
    text-decoration: none;
}

/* Desktop: ensure the hamburger toggle is hidden and nav shows inline */
.site-nav-toggle { display: none; }

@media (max-width: 900px) {
    .site-nav-toggle { display: inline-flex; align-items:center; justify-content:center; padding:0.4rem 0.6rem; border-radius:0.6rem; border:1px solid rgba(253,164,175,0.25); background: #fff; color: #881337; font-weight:800; }
    .site-nav { display: none; }
    .site-nav.open { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }
    .site-nav a { padding: 0.5rem 0.6rem; display: block; }
}

.site-nav a:hover {
    background: #ffe4e6;
}

.floating-action-menu {
    position: fixed;
    right: 1rem;
    top: 50%;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    transform: translateY(-50%);
}

.floating-booking-menu,
.floating-whatsapp-menu {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px 0 0 999px;
    color: #fff;
    background: linear-gradient(135deg, #be123c, #e11d48 52%, #fb7185);
    box-shadow: 0 16px 34px rgba(190, 18, 60, 0.28);
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-whatsapp-menu {
    background: linear-gradient(135deg, #128c7e, #25d366 58%, #dcf8c6);
    box-shadow: 0 16px 34px rgba(18, 140, 126, 0.24);
}

.floating-booking-menu:hover,
.floating-whatsapp-menu:hover {
    color: #fff;
    box-shadow: 0 20px 42px rgba(190, 18, 60, 0.34);
    transform: translateX(-2px);
}

.floating-whatsapp-menu:hover {
    box-shadow: 0 20px 42px rgba(18, 140, 126, 0.32);
}

.floating-booking-icon {
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

.floating-booking-text {
    white-space: nowrap;
}

.floating-back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #4c0519, #be123c);
    box-shadow: 0 16px 34px rgba(76, 5, 25, 0.28);
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.floating-back-to-top:hover {
    color: #fff;
    box-shadow: 0 20px 42px rgba(76, 5, 25, 0.34);
    transform: translateY(-2px);
}

.malarikkal-faq-section {
/* Badge component styling */
.malarikkal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.82rem;
    color: #fff;
    background: linear-gradient(135deg, #0ea5a0 0%, #06b6d4 100%);
    box-shadow: 0 6px 18px rgba(6, 182, 212, 0.12);
}
.malarikkal-badge.success { background: linear-gradient(135deg, #10b981, #059669); }
.malarikkal-badge.warning { background: linear-gradient(135deg, #f59e0b, #f97316); }
.malarikkal-badge.danger { background: linear-gradient(135deg, #ef4444, #dc2626); }

/* Card */
.malarikkal-card {
    padding: 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(253, 164, 175, 0.45);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 18px 38px rgba(190,18,60,0.06);
}

/* Skeleton loader */
.skeleton {
    height: 1rem;
    width: 100%;
    border-radius: 0.5rem;
    background: linear-gradient(90deg, rgba(255,255,255,0.12) 0%, rgba(249,250,251,0.6) 40%, rgba(255,255,255,0.12) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { 0% { background-position: -200% 0 } 100% { background-position: 200% 0 } }

/* Mobile sticky CTA for booking pages */
/* Default: hidden on desktop. Use !important to avoid other rules overriding it. */
.mobile-sticky-actions { display: none !important; gap: 0.75rem; align-items: center; justify-content: flex-end; margin-top: 1rem; }
.booking-wizard-actions-desktop { display: flex; gap: 0.75rem; align-items: center; justify-content: flex-end; margin-top: 1rem; }
/* Ensure handle/dismiss are hidden on desktop by default */
.mobile-sticky-handle { display: none !important; }
.mobile-sticky-dismiss { display: none !important; }
@media (min-width: 901px) {
    .mobile-sticky-actions,
    .mobile-sticky-actions.show-only-mobile,
    .mobile-sticky-handle,
    .mobile-sticky-handle.show-only-mobile,
    .mobile-sticky-dismiss,
    .mobile-sticky-dismiss.hide-on-desktop {
        display: none !important;
    }
}
@media (max-width: 900px) {
    .mobile-sticky-actions {
        display: flex !important;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0.9rem 1rem calc(env(safe-area-inset-bottom, 0.75rem) + 0.75rem);
        background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.98));
        box-shadow: 0 -10px 30px rgba(136,19,55,0.06);
        z-index: 60;
        justify-content: space-between;
    }
    .mobile-sticky-actions .btn { flex: 1 1 auto; }
    .mobile-sticky-actions .btn + .btn { margin-left: 0.5rem; }
    main { padding-bottom: 5.2rem; }
}

/* Utility classes to control visibility between mobile and desktop */
.hide-on-mobile { display: block; }
.show-only-mobile { display: none; }
.hide-on-desktop { display: none; }
@media (max-width: 900px) {
    .hide-on-mobile { display: none !important; }
    .show-only-mobile { display: flex !important; gap: 0.5rem; align-items: center; }
    .hide-on-desktop { display: block !important; }
    .mobile-sticky-handle { display: inline-flex !important; }
    .mobile-sticky-dismiss { display: block !important; }
}

/* Collapsed state and handle */
.mobile-sticky-actions.collapsed { transform: translateY(110%); transition: transform 240ms ease; }
.mobile-sticky-handle { display: none; position: fixed; right: 1rem; bottom: calc(env(safe-area-inset-bottom, 0.75rem) + 0.5rem); z-index: 70; padding: 0.6rem 0.9rem; border-radius: 999px; background: linear-gradient(135deg,#be123c,#fb7185); color:#fff; font-weight:800; box-shadow:0 10px 30px rgba(190,18,60,0.12); }
.mobile-sticky-dismiss { display: none; position: absolute; left: 0.6rem; top: 0.45rem; border: none; background: transparent; color: #7f1d1d; font-size: 1rem; }

/* When keyboard is open, hide sticky actions */
.keyboard-open .mobile-sticky-actions { transform: translateY(120%); }



/* Policy card smaller visual */
.policy-card { margin-bottom: 1rem; padding: 0.75rem; border-radius: 0.65rem; background: linear-gradient(180deg, #fff7f8, #fff); border: 1px solid rgba(253,164,175,0.35); }

    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid rgba(253, 164, 175, 0.65);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 40px rgba(190, 18, 60, 0.1);
}

.malarikkal-faq-section h2 {
    margin-top: 0.35rem;
}

.malarikkal-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.malarikkal-faq-grid article {
    padding: 1rem;
    border-radius: 1rem;
    background: #fff7ed;
}

.malarikkal-faq-grid h3 {
    margin: 0 0 0.45rem;
    color: #881337;
}

.malarikkal-faq-grid p {
    margin: 0;
    color: #6b213d;
}

.malarikkal-language-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.malarikkal-language-selector-icon {
    color: #be123c;
    font-weight: 900;
}

.malarikkal-language-select {
    width: auto;
    min-width: 9rem;
    max-width: 12rem;
    margin-top: 0;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-weight: 800;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    gap: 1.25rem;
    align-items: center;
    margin: 2rem 0 1.25rem;
    padding: 1.25rem;
    border: 1px solid rgba(253, 164, 175, 0.65);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 12px 30px rgba(190, 18, 60, 0.1);
    backdrop-filter: blur(12px);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand strong,
.footer-brand small,
.footer-credit span,
.footer-credit small {
    display: block;
}

.footer-brand strong,
.footer-credit span {
    color: #4c0519;
    font-weight: 900;
}

.footer-brand small,
.footer-credit small {
    color: #be123c;
    font-size: 0.82rem;
}

.booking-partner-disclaimer {
    grid-column: 1 / -1;
    margin: 0.35rem 0 0;
    color: #7f1d1d;
    font-size: 0.85rem;
    line-height: 1.45;
}

.booking-partner-disclaimer.inline {
    max-width: 760px;
    margin-top: 1rem;
    padding: 0.9rem 1rem 0.9rem 3rem;
    color: #4c0519;
    font-size: 0.92rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 228, 230, 0.94));
    border: 1px solid rgba(253, 164, 175, 0.95);
    border-left: 5px solid #fb7185;
    border-radius: 1rem;
    box-shadow: 0 14px 32px rgba(76, 5, 25, 0.12);
    position: relative;
}

.booking-partner-disclaimer.inline::before {
    position: absolute;
    top: 50%;
    left: 1rem;
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1;
    content: "✓";
    background: linear-gradient(135deg, #be123c, #881337);
    border-radius: 999px;
    place-items: center;
    transform: translateY(-50%);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.footer-links a {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: #881337;
    font-weight: 800;
    text-decoration: none;
}

.footer-links a:hover {
    background: #ffe4e6;
}

.footer-credit {
    text-align: right;
}

.btn-lg {
    padding: 0.75rem 1.1rem;
    font-weight: 700;
}

.malarikkal-public-page {
    padding-bottom: 3rem;
}

.page-hero {
    margin: 1.5rem 0;
    padding: 2.5rem;
    border-radius: 1.35rem;
    color: #fff;
    background:
        radial-gradient(circle at 90% 18%, rgba(255, 228, 230, 0.52), transparent 18%),
        linear-gradient(135deg, #4c0519, #be123c 55%, #fb7185);
    /* Remove decorative outer shadow/inner stroke to present a flat hero (Option A) */
    box-shadow: none;
}

.page-hero.compact {
    min-height: auto;
}

.page-hero h1 {
    margin: 0.5rem 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    /* Remove decorative border/outline around the heading (make heading flush with hero background) */
    background: transparent;
    border: 0;
    box-shadow: none;
    outline: none;
    padding: 0;
}

.page-hero p {
    max-width: 720px;
    color: #ffe4e6;
    line-height: 1.7;
}

.malarikkal-hero {
    margin: 1.5rem 0 2rem;
    min-height: 520px;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    border-radius: 1.5rem;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(76, 5, 25, 0.02), rgba(76, 5, 25, 0.2)),
        radial-gradient(circle at 84% 18%, rgba(255, 228, 230, 0.68), transparent 10%),
        radial-gradient(circle at 78% 28%, rgba(251, 113, 133, 0.62), transparent 18%),
        radial-gradient(circle at 92% 62%, rgba(244, 63, 94, 0.42), transparent 22%),
        linear-gradient(90deg, rgba(76, 5, 25, 0.96) 0%, rgba(136, 19, 55, 0.84) 50%, rgba(190, 18, 60, 0.46) 100%),
        linear-gradient(135deg, #3f1d2e, #9f1239 50%, #f43f5e);
    box-shadow: 0 24px 60px rgba(190, 18, 60, 0.28);
    position: relative;
}

.malarikkal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.78));
}

.malarikkal-hero::after {
    content: "";
    position: absolute;
    right: 3rem;
    bottom: 3rem;
    width: 13rem;
    height: 13rem;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.3) 0 12%, transparent 13%),
        conic-gradient(from 18deg, #fecdd3, #fb7185, #be123c, #fda4af, #fecdd3);
    opacity: 0.32;
    filter: blur(0.2px);
}

.hero-booking-card {
    position: relative;
    z-index: 1;
    width: min(340px, 100%);
    margin-right: 2.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 228, 230, 0.38);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(76, 5, 25, 0.28);
    backdrop-filter: blur(18px);
}

.hero-booking-card h2 {
    margin: 0.6rem 0;
    font-size: 1.55rem;
}

.hero-booking-card p {
    color: #ffe4e6;
    line-height: 1.6;
}

.hero-booking-card dl {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 1.25rem;
}

.hero-booking-card dl div {
    padding: 0.8rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.13);
}

.hero-booking-card dt {
    color: #fecdd3;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-booking-card dd {
    margin: 0.2rem 0 0;
    font-weight: 800;
}

.malarikkal-gallery-section {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid rgba(253, 164, 175, 0.65);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 40px rgba(190, 18, 60, 0.1);
}

.malarikkal-gallery-section .section-heading-row p {
    max-width: 520px;
    margin: 0;
    color: #6b213d;
    line-height: 1.6;
}

.malarikkal-gallery-carousel {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 0 0 0.75rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-color: #be123c #ffe4e6;
}

.malarikkal-gallery-card {
    position: relative;
    flex: 0 0 min(82vw, 620px);
    min-height: 55px;
    margin: 0;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #fff7ed;
    box-shadow: 0 14px 34px rgba(76, 5, 25, 0.14);
    scroll-snap-align: start;
}

.malarikkal-gallery-card:first-child {
    flex-basis: min(88vw, 720px);
}

.malarikkal-gallery-card img,
.malarikkal-gallery-card video {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    transition: transform 220ms ease;
}

.malarikkal-gallery-card video {
    background: #4c0519;
}

.malarikkal-gallery-card:hover img,
.malarikkal-gallery-card:hover video {
    transform: scale(1.035);
}

.malarikkal-gallery-card.video-card:hover video {
    transform: none;
}

.malarikkal-gallery-card figcaption {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem;
    border-radius: 0.9rem;
    color: #fff;
    background: rgba(76, 5, 25, 0.74);
    backdrop-filter: blur(8px);
}

.malarikkal-gallery-card figcaption strong {
    font-size: 0.95rem;
}

.malarikkal-gallery-card figcaption span,
.malarikkal-gallery-card figcaption a {
    color: #ffe4e6;
    font-size: 0.78rem;
}

.gallery-hero {
    margin-bottom: 1.25rem;
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2.5rem;
}

.gallery-page-card,
.admin-gallery-item {
    overflow: hidden;
    border: 1px solid rgba(253, 164, 175, 0.65);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 42px rgba(136, 19, 55, 0.1);
}

.gallery-page-card img,
.gallery-page-card video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #4c0519;
}

.gallery-page-card-body {
    padding: 1rem;
}

.gallery-page-card-body h2 {
    margin: 0.35rem 0 0.45rem;
    color: #4c0519;
    font-size: 1.08rem;
}

.gallery-page-card-body p,
.gallery-empty-state p {
    margin: 0;
    color: #7f1d1d;
}

.gallery-media-type {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    color: #be123c;
    background: #ffe4e6;
    font-size: 0.78rem;
    font-weight: 900;
}

.admin-gallery-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    align-items: end;
}

.admin-gallery-upload-grid textarea {
    min-height: 5.5rem;
}

.admin-gallery-upload-actions {
    display: flex;
    align-items: end;
}

.admin-gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.admin-gallery-item img,
.admin-gallery-item video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #4c0519;
}

.admin-gallery-item div {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem;
}

.admin-gallery-item span {
    color: #9f1239;
    font-size: 0.85rem;
}

.admin-gallery-select {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.45rem;
    color: #881337;
    font-size: 0.85rem;
    font-weight: 800;
}

.admin-gallery-select input {
    accent-color: #be123c;
}

.contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
}

.contact-channel-card {
    padding: 1.25rem;
    border: 1px solid rgba(253, 164, 175, 0.65);
    border-radius: 1.25rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 42px rgba(136, 19, 55, 0.1);
}

.contact-channel-card h2 {
    margin: 0.7rem 0 0.35rem;
    color: #4c0519;
    font-size: 1.15rem;
}

.contact-channel-card p {
    min-height: 2.5rem;
    color: #7f1d1d;
}

.contact-channel-card .btn {
    overflow-wrap: anywhere;
}

.contact-channel-icon {
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    color: #fff;
    background: linear-gradient(135deg, #be123c, #fb7185);
    border-radius: 999px;
    place-items: center;
    font-size: 1.35rem;
    box-shadow: 0 10px 18px rgba(190, 18, 60, 0.2);
}

.contact-channel-icon.whatsapp {
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.contact-channel-icon.email {
    background: linear-gradient(135deg, #831843, #f97316);
}

.contact-form-card {
    margin-bottom: 2rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.contact-message-field {
    grid-column: 1 / -1;
}

.contact-message-field textarea {
    max-width: none;
}

.booking-card-label,
.package-tag,
.card-meta {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.booking-card-label {
    padding: 0.35rem 0.65rem;
    color: #881337;
    background: #ffe4e6;
}

.malarikkal-hero-content {
    max-width: 820px;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.malarikkal-card,
.package-card,
.steps-section article {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.malarikkal-card:hover,
.package-card:hover,
.steps-section article:hover {
    transform: translateY(-4px);
    border-color: #fb7185;
    box-shadow: 0 22px 52px rgba(190, 18, 60, 0.18);
}

.malarikkal-hero h1 {
    margin: 1rem 0;
    font-size: clamp(2.25rem, 5vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.destination-card {
    min-height: 220px;
}

.card-meta {
    margin-top: 0.5rem;
    padding: 0.4rem 0.7rem;
    color: #be123c;
    background: #fff1f2;
}

.package-section,
.steps-section,
.final-cta {
    margin: 2.5rem 0;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-heading-row h2 {
    max-width: 720px;
    margin: 0.5rem 0 0;
    color: #4c0519;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.12;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.package-card {
    padding: 1.5rem;
    border: 1px solid #fecdd3;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(190, 18, 60, 0.11);
}

.package-card.featured {
    border-color: #fb7185;
    background:
        linear-gradient(180deg, rgba(255, 241, 242, 0.92), rgba(255, 255, 255, 0.92));
    box-shadow: 0 22px 54px rgba(190, 18, 60, 0.18);
}

.package-card h3 {
    margin: 0.75rem 0 0.5rem;
    color: #881337;
    font-size: 1.35rem;
}

.package-card p,
.package-card li {
    color: #7f1d1d;
    line-height: 1.6;
}

.package-card ul {
    padding-left: 1.25rem;
}

.package-tag {
    padding: 0.38rem 0.7rem;
    color: #fff;
    background: linear-gradient(135deg, #be123c, #fb7185);
}

.malarikkal-subtitle {
    max-width: 760px;
    color: #ffe4e6;
    font-size: 1.15rem;
    line-height: 1.75;
}

.malarikkal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fecdd3;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.malarikkal-eyebrow.dark {
    color: #be123c;
}

.malarikkal-badges,
.malarikkal-stats,
.malarikkal-highlight-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.malarikkal-badges span,
.malarikkal-highlight-list span {
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.malarikkal-badges span {
    background: rgba(255, 228, 230, 0.18);
    border: 1px solid rgba(255, 228, 230, 0.34);
}

.malarikkal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.malarikkal-actions .ms-2 {
    margin-left: 0;
}

.malarikkal-stats {
    margin-top: 1rem;
}

.malarikkal-stats div {
    min-width: 180px;
    padding: 1rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.malarikkal-stats strong,
.malarikkal-stats span {
    display: block;
}

.malarikkal-stats span {
    margin-top: 0.25rem;
    color: #ffe4e6;
    font-size: 0.88rem;
}

.malarikkal-section {
    margin: 2.5rem auto;
    max-width: 820px;
}

.malarikkal-center {
    text-align: center;
}

.malarikkal-section h2,
.malarikkal-booking-panel h2,
.malarikkal-highlights h2,
.malarikkal-map-copy h2 {
    margin: 0.65rem 0;
    color: #4c0519;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.malarikkal-section p,
.malarikkal-booking-panel p,
.malarikkal-card p,
.malarikkal-map-copy p {
    color: #7f1d1d;
    line-height: 1.7;
}

.malarikkal-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.malarikkal-card,
.malarikkal-booking-panel,
.malarikkal-highlights,
.malarikkal-map-section {
    border: 1px solid #fecdd3;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 35px rgba(190, 18, 60, 0.12);
    backdrop-filter: blur(10px);
}

.malarikkal-card {
    padding: 1.5rem;
}

.malarikkal-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #fff1f2, #fecdd3);
    font-size: 1.5rem;
}

.malarikkal-card h3 {
    margin-bottom: 0.5rem;
    color: #be123c;
}

.malarikkal-booking-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
}

.malarikkal-booking-panel p {
    max-width: 680px;
}

.malarikkal-highlights {
    padding: 2rem;
}

.malarikkal-map-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
    gap: 1.25rem;
    align-items: stretch;
    margin: 2rem 0;
    padding: 1.25rem;
}

.malarikkal-map-copy {
    padding: 1rem;
}

.map-address-card {
    display: grid;
    gap: 0.35rem;
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid #fecdd3;
    border-radius: 1rem;
    color: #4c0519;
    background: #fff7ed;
}

.map-address-card strong {
    color: #be123c;
}

.malarikkal-map-card {
    min-height: 320px;
    overflow: hidden;
    border: 1px solid #fecdd3;
    border-radius: 1rem;
    background: #fff;
}

.malarikkal-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.steps-section {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.steps-section article {
    padding: 1rem;
    border: 1px solid #fecdd3;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 16px 34px rgba(190, 18, 60, 0.1);
}

.steps-section strong {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #be123c, #fb7185);
}

.steps-section h3 {
    margin-bottom: 0.25rem;
    color: #881337;
    font-size: 1rem;
}

.steps-section p {
    color: #7f1d1d;
    font-size: 0.9rem;
    line-height: 1.6;
}

.final-cta {
    padding: 3rem 2rem;
    border-radius: 1.4rem;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 228, 230, 0.42), transparent 24%),
        linear-gradient(135deg, #831843, #be123c 58%, #fb7185);
    box-shadow: 0 24px 60px rgba(190, 18, 60, 0.24);
}

.final-cta h2 {
    margin: 0.6rem auto;
    max-width: 680px;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.final-cta p {
    max-width: 620px;
    margin: 0 auto 1.5rem;
    color: #ffe4e6;
}

@media (max-width: 980px) {
    .steps-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.malarikkal-highlight-list span {
    color: #881337;
    background: #ffe4e6;
    border: 1px solid #fda4af;
}

.themed-form-card,
.confirmation-card,
.dashboard-card {
    margin: 1.5rem 0 3rem;
    padding: 2rem;
    border: 1px solid #fecdd3;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 42px rgba(190, 18, 60, 0.12);
    backdrop-filter: blur(12px);
}

.validation-summary {
    color: #be123c;
    font-weight: 700;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #e11d48;
}

.add-on-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Action card layout for add-ons: ensure label text and helper appear separated and readable */
.action-card {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.8rem;
    background: linear-gradient(180deg, #fff7f8, #fff);
    border: 1px solid rgba(253,164,175,0.25);
    color: #7f1d1d;
}
.action-card .form-check-input { margin: 0; }
.action-card span { display: flex; flex-direction: column; gap: 0.15rem; }
.action-card span strong { font-weight: 800; color: #881337; }
.action-card span small { display: block; font-size: 0.85rem; color: #7f1d1d; font-weight: 400; }

.addon-disclaimer {
    display: block;
    margin-top: 0.35rem;
}

.booking-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.2rem;
}

.booking-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(76, 5, 25, 0.58);
}

.booking-modal {
    width: min(100%, 560px);
    padding: 1.5rem;
    border: 1px solid #fecdd3;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 22px 60px rgba(76, 5, 25, 0.28);
}

.booking-modal h2 {
    margin: 0.25rem 0 1rem;
    color: #4c0519;
}

.booking-modal-details {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}

.booking-modal-details div {
    padding: 0.85rem;
    border: 1px solid #fecdd3;
    border-radius: 0.85rem;
    background: #fff1f2;
}

.booking-modal-details dt {
    color: #be123c;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.booking-modal-details dd {
    margin: 0.2rem 0 0;
    color: #4c0519;
    font-weight: 700;
}

.booking-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.confirmation-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 0;
    align-items: stretch;
}

.entry-ticket-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid #fda4af;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #fff7ed 0%, #fff1f2 48%, #ffffff 100%);
    box-shadow: 0 24px 60px rgba(136, 19, 55, 0.14);
}

.entry-ticket-card::before,
.entry-ticket-card::after {
    position: absolute;
    right: 166px;
    z-index: 2;
    width: 28px;
    height: 28px;
    content: "";
    background: #fff;
    border: 1px solid #fda4af;
    border-radius: 999px;
}

.entry-ticket-card::before {
    top: -14px;
}

.entry-ticket-card::after {
    bottom: -14px;
}

.ticket-main {
    padding: 1.5rem;
}

.ticket-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.ticket-header h2,
.qr-panel h3 {
    color: #4c0519;
}
.qr-panel h3 {
    margin: 0 0 0.5rem 0;
}

.ticket-status {
    flex: 0 0 auto;
    padding: 0.5rem 0.85rem;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #be123c, #881337);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(190, 18, 60, 0.25);
}

.ticket-status-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.ticket-status-actions .btn {
    border-color: #fb7185;
    color: #881337;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.72);
}

.ticket-status-actions .btn:hover,
.ticket-status-actions .btn:focus {
    color: #fff;
    background: #be123c;
    border-color: #be123c;
}

.ticket-status-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #be123c, #881337);
    border-color: #be123c;
    box-shadow: 0 10px 22px rgba(190, 18, 60, 0.2);
}

.ticket-reference {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    margin-top: 1rem;
    color: #4c0519;
    background: rgba(255, 255, 255, 0.82);
    border: 1px dashed #fb7185;
    border-radius: 1rem;
}

.ticket-reference span {
    color: #be123c;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ticket-reference strong {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.booking-details div,
.qr-panel {
    padding: 1rem;
    border-radius: 0.9rem;
    background: rgba(255, 241, 242, 0.82);
    border: 1px solid #fecdd3;
}

.ticket-stub {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    color: #4c0519;
    text-align: center;
    background: linear-gradient(180deg, #fecdd3, #fff1f2);
    border-left: 2px dashed #fb7185;
}

.ticket-stub span,
.ticket-stub small {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ticket-stub strong {
    font-size: 1.7rem;
    line-height: 1;
}

.ticket-stub-code {
    padding: 0.45rem 0.65rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    background: #881337;
    border-radius: 0.65rem;
}

.ticket-stub p {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
}

.booking-details dt {
    color: #be123c;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.booking-details dd {
    margin: 0.2rem 0 0;
    color: #4c0519;
    font-weight: 700;
}

.booking-details .booking-media-summary {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
    padding: 0;
    border: 0;
    background: transparent;
}

.booking-media-summary figure {
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(253, 164, 175, 0.72);
    border-radius: 1rem;
    background: #fff;
}

.booking-media-summary img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.booking-media-summary figcaption {
    padding: 0.55rem 0.7rem;
    color: #881337;
    font-size: 0.86rem;
    font-weight: 900;
}

.split-assignment-card {
    margin-top: 1rem;
}

.split-assignment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.split-assignment-summary {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(251, 113, 133, 0.35);
    border-radius: 0.9rem;
    color: #7f1d1d;
    background: rgba(255, 247, 237, 0.9);
    font-weight: 800;
}

.split-assignment-summary p {
    margin: 0;
    color: #9f1239;
    font-size: 0.92rem;
}

.split-assignment-list article,
.split-assignment-details article {
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem;
    border: 1px solid #fecdd3;
    border-radius: 0.9rem;
    background: rgba(255, 241, 242, 0.82);
}

.split-assignment-list span,
.split-assignment-details span {
    color: #7f1d1d;
    font-size: 0.88rem;
    font-weight: 700;
}

.split-passenger-input {
    max-width: 7rem;
}

.split-assignment-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

.split-assignment-actions span {
    color: #881337;
    font-weight: 900;
}

.booking-details .split-assignment-details {
    grid-column: 1 / -1;
}

.split-assignment-details dd {
    display: grid;
    gap: 0.65rem;
}

.split-assignment-note {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(251, 113, 133, 0.35);
    border-radius: 0.9rem;
    color: #7f1d1d;
    background: rgba(255, 247, 237, 0.9);
    font-weight: 800;
}

.qr-panel {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    text-align: center;
}

#qrcode img {
    width: 100%;
    height: auto;
}

.qr-url-label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted-color);
}

.qr-url {
    word-break: break-all;
    font-family: var(--mono-font);
}

.themed-table th {
    color: #881337;
    background: #ffe4e6;
}

.admin-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table-scroll .themed-table {
    min-width: 1180px;
}

.admin-bookings-table th,
.admin-bookings-table td,
.admin-operators-table th,
.admin-operators-table td {
    vertical-align: top;
}

.admin-bookings-table td:nth-child(1),
.admin-bookings-table td:nth-child(3),
.admin-bookings-table td:nth-child(8),
.admin-bookings-table td:nth-child(10) {
    overflow-wrap: anywhere;
}

.admin-bookings-table td:nth-child(5),
.admin-operators-table td:nth-child(2) {
    white-space: nowrap;
}

.admin-bookings-table td:nth-child(6) {
    text-align: center;
}

.admin-bookings-table td:nth-child(9),
.admin-bookings-table td:nth-child(11),
.admin-operators-table td:nth-child(8) {
    white-space: nowrap;
}

.admin-assignment-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    min-width: 9rem;
}

.admin-assignment-actions .btn,
.admin-bookings-table td:nth-child(11) .btn,
.admin-operators-table td:nth-child(8) .btn {
    width: 100%;
}

.themed-table tbody tr:hover {
    background: #fff1f2;
}

.auth-card h2 {
    margin: 1.5rem 0 1rem;
    color: #4c0519;
}

.operator-register-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.45fr);
    gap: 1.5rem;
    align-items: stretch;
    margin: 1.5rem 0 3rem;
}

.operator-register-intro {
    padding: 2rem;
    border-radius: 1.35rem;
    color: #4c0519;
    background:
        radial-gradient(circle at 82% 18%, rgba(251, 113, 133, 0.24), transparent 24%),
        linear-gradient(160deg, rgba(255, 241, 242, 0.96), rgba(255, 255, 255, 0.88));
    border: 1px solid #fecdd3;
    box-shadow: 0 18px 42px rgba(190, 18, 60, 0.12);
}

.operator-register-intro h2 {
    margin: 0.75rem 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.12;
}

.operator-register-intro p {
    color: #7f1d1d;
    line-height: 1.7;
}

.operator-benefits {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.operator-benefits span {
    padding: 0.8rem 0.9rem;
    border-radius: 999px;
    color: #881337;
    background: #fff;
    border: 1px solid #fecdd3;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(190, 18, 60, 0.08);
}

.operator-register-card {
    margin: 0;
}

.register-section-header {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin: 0 0 1rem;
}

.register-section-header span {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    flex: 0 0 2.3rem;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #be123c, #fb7185);
    font-weight: 900;
}

.register-section-header h2 {
    margin: 0;
}

.register-section-header p,
.field-hint {
    margin: 0.25rem 0 0;
    color: #7f1d1d;
    font-size: 0.9rem;
}

.form-grid-span {
    grid-column: 1 / -1;
}

.register-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #fecdd3;
}

.auth-link {
    display: inline-block;
    margin-left: 1rem;
    font-weight: 800;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-grid.two {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.operator-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.operator-summary-grid article {
    padding: 1.25rem;
    border: 1px solid #fecdd3;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(190, 18, 60, 0.1);
}

.operator-summary-grid span,
.operator-summary-grid small {
    display: block;
}

.operator-summary-grid span {
    color: #be123c;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.operator-summary-grid strong {
    display: block;
    margin: 0.3rem 0;
    color: #4c0519;
    font-size: 1.4rem;
}

.operator-summary-grid small {
    color: #7f1d1d;
}

.dashboard-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-toolbar h2 {
    margin: 0;
    color: #4c0519;
}

.admin-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    align-items: end;
    margin: 1rem 0 1.5rem;
    padding: 1rem;
    border: 1px solid #fecdd3;
    border-radius: 1rem;
    background: #fff7ed;
}

.admin-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.admin-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    color: #7f1d1d;
    font-weight: 700;
}

.admin-pagination div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 720px) {
    .site-header,
    .site-footer,
    .confirmation-card,
    .malarikkal-map-section {
        align-items: flex-start;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .brand-partner-badge {
        white-space: normal;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-credit {
        text-align: left;
    }

    .malarikkal-hero-content {
        padding: 2rem 1.25rem;
    }

    .malarikkal-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-booking-card {
        width: auto;
        margin: 0 1.25rem 1.25rem;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .malarikkal-booking-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .steps-section {
        grid-template-columns: 1fr;
    }

    .malarikkal-gallery-carousel {
        scroll-padding-left: 0;
    }

    .malarikkal-gallery-card,
    .malarikkal-gallery-card:first-child {
        flex-basis: min(86vw, 420px);
        min-height: 52px;
    }

    .malarikkal-faq-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .operator-register-shell {
        grid-template-columns: 1fr;
    }

    .auth-link {
        margin-left: 0;
    }

    .floating-action-menu {
        right: 0.5rem;
    }

    .floating-booking-menu,
    .floating-whatsapp-menu {
        padding: 0.65rem;
    }

    .floating-back-to-top {
        display: none;
    }

    .floating-booking-text {
        display: none;
    }

    /* Mobile nav behavior: hide full nav by default, show when .open is set */
    .site-nav { display: none; }
    .site-nav.open { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.75rem; }

    .site-nav a { padding: 0.5rem 0.6rem; display: block; }

    .site-nav-toggle { display: inline-flex; align-items:center; justify-content:center; padding:0.4rem 0.6rem; border-radius:0.6rem; border:1px solid rgba(253,164,175,0.25); background: #fff; color: #881337; font-weight:800; }
    .site-nav-toggle:focus { outline: 3px solid rgba(251,113,133,0.14); }
}

@media print {
    body * {
        visibility: hidden;
    }

    .entry-ticket-card,
    .entry-ticket-card * {
        visibility: visible;
    }

    .entry-ticket-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        box-shadow: none;
    }

    .ticket-status-actions button {
        display: none;
    }
}
