body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    overflow-x: hidden;
    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%);
}

.app-breadcrumbs {
    width: min(1120px, calc(100% - 2rem));
    margin: 1rem auto 0.75rem;
    color: #9f1239;
    font-size: 0.88rem;
    font-weight: 800;
}

.app-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.app-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.app-breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: rgba(159, 18, 57, 0.5);
}

.app-breadcrumbs a {
    color: #be123c;
    text-decoration: none;
}

.app-breadcrumbs a:hover {
    color: #881337;
    text-decoration: underline;
}

.app-breadcrumbs span[aria-current="page"] {
    color: #4c0519;
}

.maintenance-page {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.maintenance-card {
    width: min(100%, 720px);
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgba(253, 164, 175, 0.7);
    border-radius: 1.75rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px rgba(190, 18, 60, 0.18);
    backdrop-filter: blur(14px);
}

.maintenance-card h1 {
    margin: 0.75rem auto;
    max-width: 620px;
    color: #881337;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: 1.05;
}

.maintenance-card p {
    max-width: 560px;
    margin: 0.5rem auto;
    color: #7f1d1d;
    font-size: 1.05rem;
    line-height: 1.7;
}

.maintenance-card .btn {
    margin-top: 1.25rem;
}

.booking-quote-details {
    grid-column: 1 / -1;
}

.quote-line-items {
    display: grid;
    gap: 0.45rem;
    width: min(100%, 520px);
}

.quote-line-items > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(253, 164, 175, 0.35);
}

.quote-line-items strong {
    color: #881337;
    white-space: nowrap;
}

.quote-line-items .quote-total {
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 2px solid rgba(190, 18, 60, 0.25);
    border-bottom: 0;
    font-size: 1.05rem;
}

/* 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 {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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;
}

@media (max-width: 420px) {
    .site-brand {
        gap: 0.55rem;
    }

    .brand-logo {
        width: 3rem;
        height: 3rem;
        flex-basis: 3rem;
        border-radius: 0.8rem;
    }

    .site-brand strong {
        font-size: 0.94rem;
        line-height: 1.15;
    }

}

.btn:hover {
    opacity: 0.94;
    transform: translateY(-1px);
}

@media (max-width: 520px) {
    .site-footer {
        gap: 1rem;
        padding: 1rem;
    }

    .footer-brand {
        align-items: flex-start;
    }
}

.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);
}

.social-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.social-share-native {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.social-share-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.social-share-link {
    padding: 0.42rem 0.7rem;
    border: 1px solid rgba(251, 113, 133, 0.45);
    border-radius: 999px;
    color: #881337;
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.social-share-link:hover {
    background: #ffe4e6;
}

.social-share-status {
    flex-basis: 100%;
    color: #7f1d1d;
    font-weight: 700;
}

.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;
    flex-wrap: nowrap;
    min-width: 0;
    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;
    flex: 0 1 22rem;
    color: #4c0519;
    text-decoration: none;
    min-width: 0;
}

.site-brand-copy {
    min-width: 0;
}

.site-brand strong,
.site-brand small {
    display: block;
}

.site-brand strong {
    line-height: 1.3;
    text-wrap: balance;
}

.site-brand .brand-tagline {
    margin-top: 0.25rem;
    color: #72515b;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.site-brand .brand-logo {
    width: 3.25rem;
    height: 3.25rem;
    flex-basis: 3.25rem;
    border-radius: 0.8rem;
    box-shadow: 0 4px 10px rgba(6, 107, 58, 0.12);
}

.brand-logo {
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
    display: block;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 10px 18px rgba(6, 107, 58, 0.22);
}

.footer-logo {
    width: 3.5rem;
    height: 3.5rem;
    flex-basis: 3.5rem;
}

.brand-mark {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 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);
}

#components-reconnect-modal.malarikkal-reconnect-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(63, 29, 46, 0.38);
    backdrop-filter: blur(5px);
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: flex;
}

.malarikkal-reconnect-card {
    width: min(92vw, 23rem);
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    padding: 1.8rem 1.5rem;
    color: #4c0519;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(251, 113, 133, 0.22), transparent 42%),
        linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    border: 1px solid rgba(253, 164, 175, 0.45);
    border-radius: 1.4rem;
    box-shadow: 0 24px 70px rgba(76, 5, 25, 0.28);
}

.malarikkal-reconnect-logo {
    width: 4.5rem;
    height: 4.5rem;
    display: block;
    object-fit: cover;
    border-radius: 1.1rem;
    box-shadow: 0 14px 30px rgba(6, 107, 58, 0.24);
}

.malarikkal-reconnect-copy {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected .components-reconnect-rejected {
    display: grid;
    gap: 0.35rem;
}

.malarikkal-reconnect-copy strong {
    font-size: 1rem;
}

.malarikkal-reconnect-copy span {
    color: #7f1d1d;
    font-size: 0.92rem;
    line-height: 1.45;
}

.malarikkal-reconnect-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid rgba(251, 113, 133, 0.22);
    border-top-color: #be123c;
    border-radius: 50%;
    animation: malarikkal-reconnect-spin 0.85s linear infinite;
}

#components-reconnect-modal.components-reconnect-failed .malarikkal-reconnect-spinner,
#components-reconnect-modal.components-reconnect-rejected .malarikkal-reconnect-spinner {
    display: none;
}

@keyframes malarikkal-reconnect-spin {
    to { transform: rotate(360deg); }
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    flex: 0 1 auto;
    justify-content: flex-end;
    gap: 0.6rem;
}

.site-nav a {
    padding: 0.5rem 0.65rem;
    border-radius: 999px;
    color: #881337;
    font-size: 0.9rem;
    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-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .site-brand {
        flex: initial;
        justify-content: flex-start;
    }

    .site-nav-toggle { display: inline-flex; align-items:center; justify-content:center; width: 2.75rem; min-height: 2.75rem; 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; grid-column: 1 / -1; width: 100%; }
    .site-nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; margin-top: 0.75rem; }
    .site-nav a { width: 100%; padding: 0.65rem 0.75rem; display: block; background: rgba(255, 241, 242, 0.72); }

    .site-nav .malarikkal-language-selector {
        width: 100%;
        justify-content: flex-start;
        margin-top: 0.25rem;
    }

    .site-nav .malarikkal-language-select {
        width: 100%;
        max-width: none;
    }

    .section-heading-row,
    .malarikkal-booking-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .steps-section,
    .malarikkal-map-section {
        grid-template-columns: 1fr;
    }
}

.site-nav a:hover {
    background: #ffe4e6;
}

@media (max-width: 1040px) and (min-width: 901px) {
    .site-header {
        flex-wrap: wrap;
    }

    .site-brand {
        flex: 1 1 100%;
    }

    .site-nav {
        justify-content: flex-start;
    }
}

.page-quick-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    margin: 1rem 0;
}

.footer-quick-actions {
    display: none;
}

.footer-quick-actions.booking-page-actions {
    display: block;
}

.quick-booking-action,
.quick-whatsapp-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    max-width: 100%;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 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;
}

.quick-whatsapp-action {
    background: linear-gradient(135deg, #128c7e, #25d366 58%, #dcf8c6);
    box-shadow: 0 16px 34px rgba(18, 140, 126, 0.24);
}

.quick-booking-action:hover,
.quick-whatsapp-action:hover {
    color: #fff;
    box-shadow: 0 20px 42px rgba(190, 18, 60, 0.34);
    transform: translateX(2px);
}

.quick-whatsapp-action:hover {
    box-shadow: 0 20px 42px rgba(18, 140, 126, 0.32);
}

.quick-booking-action:focus-visible,
.quick-whatsapp-action:focus-visible {
    outline: 3px solid #4c0519;
    outline-offset: 3px;
}

.quick-action-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
    .desktop-quick-actions {
        display: none;
    }

    .footer-quick-actions {
        display: block;
    }

    .page-quick-actions {
        justify-content: center;
    }

    .quick-booking-action,
    .quick-whatsapp-action {
        flex: 1 1 12rem;
    }
}

.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 {
    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);
}

/* 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; }
.booking-mobile-price-preview { display: none; }
/* 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:has(.mobile-sticky-actions) { padding-bottom: 6.4rem; }
}

/* 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); }

.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;
    flex: 0 0 auto;
    gap: 0.35rem;
}

.malarikkal-language-selector-icon {
    color: #be123c;
    font-weight: 900;
}

.malarikkal-language-select {
    width: auto;
    min-width: 7.5rem;
    max-width: 9rem;
    margin-top: 0;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-weight: 800;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(210px, 1.2fr) repeat(2, minmax(115px, 0.8fr)) minmax(180px, 1.2fr) minmax(115px, 0.8fr);
    gap: 1.5rem;
    align-items: flex-start;
    margin: 1rem 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;
    min-width: 0;
}

.footer-brand strong,
.footer-brand small,
.footer-section strong,
.footer-credit span,
.footer-credit small {
    display: block;
}

.footer-brand strong,
.footer-section strong,
.footer-credit span {
    color: #4c0519;
    font-weight: 900;
}

.footer-brand small,
.footer-credit small {
    color: #be123c;
    font-size: 0.82rem;
}

.footer-section {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.footer-section strong {
    margin-bottom: 0.1rem;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.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-section a {
    width: fit-content;
    padding: 0.28rem 0;
    border-radius: 999px;
    color: #881337;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-section a:hover {
    color: #be123c;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.footer-contact span {
    color: #881337;
    font-weight: 700;
    line-height: 1.45;
}

.footer-contact a,
.footer-contact span {
    overflow-wrap: anywhere;
}

.footer-contact {
    grid-column: 1 / span 3;
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(253, 164, 175, 0.45);
}

.footer-contact strong {
    grid-column: 1 / -1;
}

.footer-credit {
    grid-column: 4 / -1;
    padding-top: 1rem;
    border-top: 1px solid rgba(253, 164, 175, 0.55);
    text-align: right;
}

.mobile-site-footer {
    display: none;
}

.mobile-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #4c0519;
    font-weight: 900;
}

.mobile-footer-logo {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.8rem;
    box-shadow: 0 10px 18px rgba(6, 107, 58, 0.18);
}

.mobile-footer-nav,
.mobile-footer-section {
    display: grid;
    gap: 0.5rem;
    align-content: start;
    min-width: 0;
}

.mobile-footer-nav {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
    gap: 1rem;
}

.mobile-footer-section strong {
    color: #4c0519;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.mobile-footer-explore,
.mobile-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.mobile-footer-legal {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(253, 164, 175, 0.45);
}

.mobile-site-footer a {
    color: #881337;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.mobile-site-footer a:hover,
.mobile-site-footer a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.footer-account {
    gap: 0.5rem;
}

.footer-account a,
.footer-signout button {
    padding: 0.28rem 0;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.footer-signout {
    margin: 0;
}

.footer-signout button {
    border: 0;
    background: transparent;
    color: #881337;
    font: inherit;
    font-weight: 800;
    text-align: start;
    cursor: pointer;
}

.footer-signout button:hover,
.footer-signout button:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

@media (max-width: 1080px) {
    .site-footer {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-contact {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
    }

    .footer-credit {
        grid-column: 1 / -1;
    }

    .footer-contact strong {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand,
    .footer-contact,
    .footer-credit {
        grid-column: 1 / -1;
    }

    .footer-contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .site-footer {
        display: none;
    }

    .mobile-site-footer {
        display: grid;
        gap: 1rem;
        margin: 1.25rem 0 1rem;
        padding: 1rem;
        border: 1px solid rgba(253, 164, 175, 0.65);
        border-radius: 1.25rem;
        background: rgba(255, 255, 255, 0.86);
        box-shadow: 0 12px 30px rgba(190, 18, 60, 0.1);
        backdrop-filter: blur(12px);
    }
}

.legal-page-card {
    display: grid;
    gap: 1rem;
    line-height: 1.7;
}

.legal-page-card h2 {
    margin: 1rem 0 0;
    color: #4c0519;
    font-size: 1.2rem;
}

.legal-page-card p {
    margin: 0;
}

.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(90deg, rgba(12, 26, 34, 0.92) 0%, rgba(12, 26, 34, 0.72) 44%, rgba(12, 26, 34, 0.28) 100%),
        linear-gradient(180deg, rgba(14, 116, 144, 0.12), rgba(76, 5, 25, 0.34)),
        url('/images/malarikkal-boat-hero.jpg'),
        linear-gradient(135deg, #3f1d2e, #9f1239 50%, #f43f5e);
    background-position: center;
    background-size: cover;
    box-shadow: 0 24px 60px rgba(190, 18, 60, 0.28);
    position: relative;
}

.malarikkal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.44));
    pointer-events: none;
}

.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%);
    min-width: 0;
    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);
}

.boat-pricing-ribbon-container {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    margin: 1rem 0;
}

@media (min-width: 901px) {
    .page-action-bar {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .page-action-bar > .boat-pricing-ribbon-container {
        flex: 0 1 32rem;
        justify-content: flex-start;
    }

    .page-action-bar > .desktop-quick-actions {
        min-width: 0;
        margin-inline-start: auto;
    }
}

.boat-pricing-ribbon {
    width: min(100%, 32rem);
    min-width: 0;
    box-sizing: border-box;
    padding: 1rem 1.25rem;
    display: grid;
    gap: 0.35rem;
    border: 1px solid #fecdd3;
    border-inline-start: 4px solid #be123c;
    border-radius: 1rem;
    text-align: start;
    line-height: 1.5;
    overflow-wrap: anywhere;
    color: #881337;
    background: linear-gradient(135deg, #fff, #fff1f2);
    box-shadow: 0 4px 14px rgba(136, 19, 55, 0.06);
}

.boat-pricing-ribbon strong {
    color: #4c0519;
    font-weight: 800;
}

.boat-pricing-ribbon > span {
    color: #7f1d1d;
}

.boat-price-breakdown {
    min-width: 0;
    width: 100%;
}

.boat-price-breakdown > summary {
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.boat-price-breakdown > summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 0.25rem;
}

.boat-price-breakdown[open] > summary {
    margin-bottom: 0.5rem;
}

.boat-price-breakdown .quote-line-items > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
    overflow-wrap: anywhere;
}

.boat-price-breakdown .quote-line-items > div > :last-child {
    text-align: end;
}

.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(min(240px, 100%), 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%;
    max-width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #4c0519;
}

.gallery-page-card-body {
    padding: 1rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gallery-photo-trigger {
    appearance: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    line-height: 0;
    cursor: zoom-in;
}

.gallery-photo-trigger:focus-visible {
    outline: 3px solid #be123c;
    outline-offset: -3px;
}

html:has(.gallery-lightbox[open]),
body:has(.gallery-lightbox[open]) {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    box-sizing: border-box;
    margin: 0;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    border: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.94);
}

.gallery-lightbox[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.75rem;
}

.gallery-lightbox::backdrop {
    background: #000;
}

.gallery-lightbox-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

.gallery-lightbox-actions .btn {
    min-height: 44px;
    cursor: pointer;
}

.gallery-lightbox figure {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0.75rem;
    min-height: 0;
    min-width: 0;
    margin: 0;
}

.gallery-lightbox img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
}

.gallery-lightbox figcaption {
    max-height: 20vh;
    overflow: auto;
    overflow-wrap: anywhere;
    text-align: center;
}

.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;
}

.operators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 3rem;
}

.operator-public-card {
    overflow: hidden;
    border: 1px solid rgba(253, 164, 175, 0.65);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(136, 19, 55, 0.1);
}

.operator-public-media {
    position: relative;
    min-height: 210px;
    background: linear-gradient(135deg, #064e3b, #be123c);
    overflow: hidden;
}

.operator-public-media img,
.operator-public-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.operator-public-placeholder {
    display: grid;
    min-height: 210px;
    place-items: center;
    color: #fff;
    font-size: 3rem;
}

.operator-public-media span {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #059669, #10b981);
    font-size: 0.78rem;
    font-weight: 900;
}

.operator-public-body {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
}

.operator-public-heading {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.operator-public-heading > div {
    min-width: 0;
}

.operator-public-photo-button {
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 auto;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(136, 19, 55, 0.16);
}

.operator-public-photo-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.operator-public-photo-button:focus-visible {
    outline: 3px solid #fb7185;
    outline-offset: 3px;
}

.operator-public-heading > img {
    width: 3.25rem;
    height: 3.25rem;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(136, 19, 55, 0.16);
}

.operator-public-heading h2 {
    margin: 0;
    color: #4c0519;
    font-size: 1.25rem;
    overflow-wrap: anywhere;
}

.operator-public-label {
    display: block;
    margin-bottom: 0.12rem;
    color: #be123c;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.operator-public-heading p {
    margin: 0.2rem 0 0;
    color: #7f1d1d;
    font-weight: 700;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.35rem;
    padding: 0.22rem 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    color: #047857;
    background: #d1fae5;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
}

.verified-badge::before {
    content: "✓";
}

.operator-public-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 0;
}

.operator-public-details div {
    padding: 0.75rem;
    border: 1px solid #ffe4e6;
    border-radius: 0.9rem;
    background: #fff7ed;
}

.operator-public-details dt {
    color: #9f1239;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.operator-public-details dd {
    margin: 0.25rem 0 0;
    color: #4c0519;
    font-weight: 800;
}

.operator-public-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.operator-public-thumbs img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0.7rem;
    object-fit: cover;
}

.operator-public-actions .btn {
    width: 100%;
    text-align: center;
}

.operator-public-actions.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.operator-public-actions.admin-actions .btn {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    white-space: nowrap;
}

.operator-public-actions.admin-actions .btn-secondary {
    padding-inline: 1rem;
}

.season-calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 3rem;
}

.weather-widget-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin: 1.25rem 0;
    padding: 1.25rem;
    border: 1px solid rgba(253, 164, 175, 0.55);
    border-radius: 1.25rem;
    color: #4c0519;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 40px rgba(159, 18, 57, 0.1);
}

.weather-widget-card h2 {
    margin: 0.25rem 0;
    color: #881337;
}

.weather-widget-card p {
    margin: 0;
    color: #7f1d1d;
}

.weather-widget-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    align-items: stretch;
    gap: 1rem;
}

.weather-widget-heading,
.weather-widget-body > *,
.weather-widget-current > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.weather-widget-current {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.9rem;
    background: #fff7ed;
}

.weather-widget-current img {
    flex: 0 0 80px;
    object-fit: contain;
}

.weather-widget-current strong,
.weather-widget-current span {
    display: block;
}

.weather-widget-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
}

.weather-widget-metrics > div,
.weather-widget-status {
    padding: 0.75rem;
    border-radius: 0.9rem;
    text-align: center;
    background: #fff7ed;
    min-width: 0;
    overflow-wrap: anywhere;
}

.weather-widget-metrics dd {
    margin: 0.35rem 0 0;
    color: #881337;
    font-weight: 800;
}

.weather-widget-metrics dt,
.weather-widget-status {
    color: #9f1239;
    font-weight: 600;
}

.weather-widget-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #fecdd3;
    overflow-wrap: anywhere;
}

.weather-widget-footer a {
    color: #9f1239;
    text-underline-offset: 0.2em;
}

.season-calendar-card {
    padding: 1.25rem;
    border: 1px solid rgba(253, 164, 175, 0.55);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 40px rgba(159, 18, 57, 0.1);
}

.season-calendar-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.season-calendar-card h2 {
    margin: 0.25rem 0 0;
    color: #881337;
    font-size: 1.35rem;
}

.season-range,
.season-status-badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.season-range {
    color: #9f1239;
}

.season-status-badge {
    padding: 0.25rem 0.7rem;
    color: #047857;
    background: #d1fae5;
    white-space: nowrap;
}

.season-calendar-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.season-calendar-details div,
.season-booking-hint {
    padding: 0.75rem;
    border: 1px solid rgba(253, 164, 175, 0.45);
    border-radius: 0.9rem;
    background: #fff7ed;
}

.season-calendar-details dt {
    color: #9f1239;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.season-calendar-details dd {
    margin: 0.25rem 0 0;
    color: #4c0519;
    font-weight: 800;
}

.season-booking-hint {
    display: grid;
    gap: 0.2rem;
    padding: 0.5rem 0.75rem;
    margin: 0 0 0.75rem;
    line-height: 1.4;
    color: #4c0519;
}

.season-booking-hint > p {
    margin-block: 0;
    padding-block: 0;
    line-height: inherit;
}

.season-booking-hint strong {
    color: #881337;
}

.season-booking-hint .season-booking-summary {
    margin: 0;
    color: #7f1d1d;
}

.season-booking-hint .season-booking-recommendation {
    margin: 0;
    color: #6b4650;
    font-weight: 400;
}

.season-booking-hint a {
    justify-self: start;
    color: #be123c;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.season-booking-hint a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.season-calendar-admin-form textarea {
    min-height: 7rem;
}

.operators-empty-state {
    text-align: center;
}

.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 > div > span {
    color: #9f1239;
    font-size: 0.85rem;
}

.admin-registration-thumb {
    display: block;
    width: 48px;
    height: 48px;
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(136, 19, 55, 0.18);
    object-fit: cover;
}

.admin-registration-thumb.operator-thumb {
    border-radius: 50%;
}

.admin-registration-thumb.boat-thumb {
    width: 64px;
    border-radius: 0.65rem;
}

.admin-registration-thumb-placeholder {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 0.65rem;
    color: #9f1239;
    background: #fff1f2;
    font-weight: 900;
}

.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;
}

.visit-guide,
.contact-booking-actions {
    margin: 1.5rem 0;
}

.visit-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.visit-guide-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(253, 164, 175, 0.65);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.9);
    overflow-wrap: anywhere;
}

.visit-guide-card h3,
.visit-guide-card p {
    margin: 0;
    color: #4c0519;
}

.visit-guide-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
}

.visit-guide-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

#boat-prices,
#location {
    scroll-margin-top: 1rem;
}

@media (max-width: 700px) {
    .visit-guide-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.photo-shoot-hero {
    display: block;
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    border: 1px solid rgba(253, 164, 175, 0.65);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 12% 8%, rgba(251, 113, 133, 0.26), transparent 30%),
        linear-gradient(135deg, rgba(76, 5, 25, 0.96), rgba(190, 18, 60, 0.9));
    box-shadow: 0 22px 52px rgba(136, 19, 55, 0.2);
}

.photo-shoot-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.photo-shoot-hero h1 {
    margin: 0.8rem 0;
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.photo-shoot-hero p {
    max-width: 720px;
    color: #ffe4e6;
    font-size: 1.08rem;
    line-height: 1.7;
}

.photo-shoot-hero-actions,
.photo-shoot-submit-panel div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.photo-shoot-packages,
.photo-shoot-samples {
    margin: 2rem 0;
}

.photo-shoot-quote-info {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #99f6e4;
    border-radius: 1rem;
    background: #f0fdfa;
    color: #134e4a;
}

.photo-shoot-quote-info p {
    margin: 0;
    overflow-wrap: anywhere;
}

.photo-shoot-package-grid,
.photo-shoot-trust-grid,
.photo-shoot-sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.photo-shoot-package-card,
.photo-shoot-trust-grid article,
.photo-shoot-sample-card,
.photo-shoot-fieldset,
.photo-shoot-submit-panel {
    border: 1px solid rgba(253, 164, 175, 0.65);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(136, 19, 55, 0.1);
}

.photo-shoot-package-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.25rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.photo-shoot-package-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.photo-shoot-package-card h4,
.photo-shoot-package-card ul {
    margin: 0;
}

.photo-shoot-package-card.selected {
    border-color: #fb7185;
    background: linear-gradient(180deg, rgba(255, 241, 242, 0.96), rgba(255, 255, 255, 0.96));
    box-shadow: 0 22px 52px rgba(190, 18, 60, 0.16);
}

.photo-shoot-package-card h3,
.photo-shoot-form-heading h2 {
    margin: 0;
    color: #4c0519;
}

.photo-shoot-package-card p,
.photo-shoot-trust-grid p,
.photo-shoot-form-heading p,
.photo-shoot-submit-panel p,
.field-hint {
    color: #7f1d1d;
    line-height: 1.6;
}

.photo-shoot-package-card dl {
    display: grid;
    gap: 0.5rem;
    margin: 0;
}

.photo-shoot-package-card dl div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #ffe4e6;
}

.photo-shoot-package-card dt {
    color: #9f1239;
    font-weight: 900;
}

.photo-shoot-package-card dd {
    margin: 0;
    color: #4c0519;
    text-align: right;
}

.photo-shoot-package-card .btn {
    text-align: center;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.photo-package-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

.photo-package-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.photo-shoot-package-card .photo-package-price {
    padding: 0.65rem;
    border-radius: 0.65rem;
    background: #fff1f2;
}

@media (max-width: 480px) {
    .photo-shoot-package-card dl div {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.25rem;
    }

    .photo-shoot-package-card dd {
        text-align: left;
    }
}

.photo-shoot-trust-grid {
    margin: 1.5rem 0 2rem;
}

.photo-shoot-trust-grid article {
    padding: 1.2rem;
}

.photo-shoot-trust-grid span {
    display: inline-grid;
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 0.8rem;
    border-radius: 999px;
    place-items: center;
    background: #ffe4e6;
    font-size: 1.35rem;
}

.photo-shoot-trust-grid strong {
    display: block;
    color: #4c0519;
    font-size: 1.08rem;
}

.photo-shoot-sample-card {
    overflow: hidden;
    color: #be123c;
    font-weight: 900;
    text-decoration: none;
}

.photo-shoot-sample-card img,
.photo-shoot-sample-card video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #4c0519;
}

.photo-shoot-sample-card span {
    display: block;
    padding: 0.85rem 1rem;
}

.photo-shoot-form-card {
    scroll-margin-top: 7rem;
}

.photo-shoot-form-heading {
    margin-bottom: 1.25rem;
}

.photo-shoot-fieldset {
    margin: 1rem 0;
    padding: 1rem;
}

.photo-shoot-fieldset legend {
    width: auto;
    padding: 0 0.4rem;
    color: #881337;
    font-weight: 900;
}

.field-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.84rem;
}

.photo-shoot-submit-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #fff7ed;
}

.photo-shoot-submit-panel p {
    max-width: 620px;
    margin: 0;
    font-weight: 700;
}

.final-cta.photo-shoot-boat-upsell {
    text-align: center;
}

.photo-shoot-boat-upsell .boat-pricing-ribbon-container,
.photo-shoot-boat-upsell .malarikkal-actions {
    justify-content: center;
}

.photo-shoot-boat-upsell .malarikkal-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.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;
}

.malarikkal-hero h1:focus {
    outline: none;
}

.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 1rem;
}

.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(min(260px, 100%), 1fr));
    gap: 1rem;
}

.package-card {
    display: flex;
    flex-direction: column;
    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 > .btn:last-child {
    align-self: flex-start;
    margin-top: auto;
}

.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(min(240px, 100%), 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; }

.legal-acceptance-card {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 42rem;
    margin: 0.9rem 0;
    padding: 0.95rem 1rem;
    line-height: 1.55;
}

.legal-acceptance-card span {
    display: block;
    flex: 1;
    min-width: 0;
}

.legal-acceptance-card a {
    font-weight: 800;
    color: #be123c;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.addon-disclaimer {
    display: block;
    margin-top: 0.35rem;
}

.advance-payment-card {
    display: grid;
    gap: 0.35rem;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid rgba(15, 118, 110, 0.25);
    border-radius: 1rem;
    background: rgba(240, 253, 250, 0.9);
    color: #134e4a;
}

.advance-payment-card strong {
    color: #0f766e;
}

.boat-pricing-summary {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    overflow-wrap: anywhere;
}

.boat-pricing-summary .quote-line-items {
    min-width: 0;
    width: 100%;
}

.boat-pricing-summary .quote-line-items > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
}

.boat-pricing-summary .quote-line-items > div > :first-child {
    min-width: 0;
    white-space: normal;
}

.boat-pricing-summary .quote-line-items > div > :last-child {
    text-align: right;
}

.boat-pricing-summary .quote-total {
    padding: 0.75rem;
    border-radius: 0.65rem;
    background: #ccfbf1;
    border: 1px solid #5eead4;
}

@media (max-width: 900px) {
    .booking-mobile-price-preview {
        display: block;
        min-width: 0;
    }

    .booking-wizard-card .boat-pricing-summary {
        padding: 0.85rem;
        gap: 0.5rem;
    }

    .booking-wizard-card .booking-wizard-actions {
        display: grid;
        grid-template-columns: minmax(0, auto) minmax(0, 1fr);
        position: sticky;
        bottom: 0;
        z-index: 5;
        padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid rgba(253, 164, 175, 0.65);
        align-items: stretch;
    }

    .booking-wizard-card .booking-wizard-actions .btn {
        min-width: 0;
        min-height: 44px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .booking-wizard-card:has(input:not([type="checkbox"]):focus, select:focus) .booking-wizard-actions {
        position: static;
    }
}

.advance-preview-card {
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff7ed;
    color: #7c2d12;
}

.advance-preview-card strong {
    color: #9a3412;
    font-size: 1.15rem;
}

.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;
    min-width: 0;
}

.entry-ticket-card.pending-booking-card {
    grid-template-columns: minmax(0, 1fr);
}

.entry-ticket-card.pending-booking-card::before,
.entry-ticket-card.pending-booking-card::after {
    display: none;
}

.ticket-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.ticket-header h2,
.qr-panel h3 {
    color: #4c0519;
}

.ticket-header .ticket-brand {
    text-transform: none;
}

.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 1 auto;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    min-width: 0;
    max-width: 100%;
}

.entry-ticket-card .ticket-status,
.entry-ticket-card .ticket-header > div,
.entry-ticket-card .ticket-reference > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
}

.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;
}

.ticket-summary-banner {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    margin-top: 1rem;
    color: #4c0519;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid #fecdd3;
    border-left: 5px solid #be123c;
    border-radius: 1rem;
}

.ticket-summary-banner strong {
    color: #881337;
    font-size: 1rem;
}

.ticket-summary-banner .btn {
    justify-self: start;
}

.ticket-summary-banner span {
    color: #6b2136;
    font-weight: 700;
}

.ticket-summary-banner.has-addons {
    border-left-color: #f97316;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.92), rgba(255, 241, 242, 0.9));
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.booking-details .advance-receipt-details,
.booking-details .booking-quote-details,
.booking-details .assignment-status-details,
.booking-details .assigned-boat-details,
.booking-details .assignment-contact-details,
.booking-details .addon-confirmation-details {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.78);
}

.entry-ticket-card .booking-details > div,
.entry-ticket-card .booking-details dd,
.quote-advance-card,
.quote-advance-card .booking-details > div,
.quote-advance-card .booking-details dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.quote-advance-card .quote-reference,
.quote-advance-card .quote-version {
    display: block;
}

.entry-ticket-card .quote-line-items > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
}

.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;
}

.confirmation-card.admin-booking-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.admin-booking-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-booking-header > div {
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-booking-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    max-width: 100%;
}

.admin-booking-actions .btn {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-booking-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1rem;
}

.admin-booking-group {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #fecdd3;
    border-radius: 0.9rem;
    background: rgba(255, 241, 242, 0.82);
    overflow-wrap: anywhere;
}

.admin-booking-fields {
    display: grid;
    gap: 0.85rem;
    margin: 0.75rem 0 0;
}

.admin-booking-fields dt {
    color: #9f1239;
    font-weight: 700;
}

.admin-booking-fields dd {
    margin: 0.2rem 0 0;
    color: #4c0519;
    overflow-wrap: anywhere;
}

.admin-booking-group > a {
    display: inline-block;
    margin-top: 0.85rem;
}

.admin-booking-metadata {
    padding-top: 1rem;
    border-top: 1px solid #fecdd3;
    min-width: 0;
}

.admin-booking-metadata summary {
    cursor: pointer;
    color: #9f1239;
    font-weight: 700;
}

.admin-booking-metadata .admin-booking-fields {
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.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-table-scroll .admin-bookings-table {
    min-width: 850px;
}

.admin-bookings-table .admin-booking-summary td {
    overflow-wrap: anywhere;
}

.admin-bookings-table .admin-booking-summary td:nth-child(4),
.admin-operators-table td:nth-child(2) {
    white-space: nowrap;
}

.admin-bookings-table .admin-booking-summary td:nth-child(5) {
    text-align: center;
}

.admin-operators-table td:nth-child(8) {
    white-space: nowrap;
}

.admin-booking-details summary {
    cursor: pointer;
    color: #881337;
    font-weight: 600;
}

.admin-booking-details-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    padding: 1rem 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-booking-details-content > * {
    min-width: 0;
}

.admin-assignment-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    min-width: 9rem;
}

.admin-assignment-actions .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;
}

.booking-wizard-card .validation-message {
    position: relative;
    margin-top: 0.25rem;
    padding-inline-start: 1.4em;
    color: #b91c1c;
    font-weight: 600;
}

.booking-wizard-card .validation-message::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.2em;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 3 2 21h20L12 3Zm0 6v5m0 3v.1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.booking-wizard-card .form-control.invalid,
.booking-wizard-card .form-select.invalid,
.booking-wizard-card .form-check-input.invalid {
    border-color: #b91c1c;
}

.booking-wizard-card .form-control.invalid:focus,
.booking-wizard-card .form-select.invalid:focus,
.booking-wizard-card .form-check-input.invalid:focus {
    outline: 2px solid #b91c1c;
    outline-offset: 2px;
}

.booking-wizard-card .field-hint {
    color: #6b7280;
}

.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(260px, 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);
    min-width: 0;
}

.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;
    line-height: 1.35;
}

.operator-profile-photo-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.operator-profile-photo-button {
    width: 96px;
    height: 120px;
    padding: 0;
    margin: 0.4rem 0;
    border: 2px solid #fecdd3;
    border-radius: 0.4rem;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(190, 18, 60, 0.14);
}

.operator-profile-photo-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.operator-profile-photo-button:focus-visible {
    outline: 3px solid #fb7185;
    outline-offset: 3px;
}

.profile-photo-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(76, 5, 25, 0.72);
}

.profile-photo-modal {
    position: relative;
    width: min(92vw, 420px);
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 24px 60px rgba(76, 5, 25, 0.35);
    text-align: center;
}

.profile-photo-modal img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0.8rem;
    background: #fff1f2;
}

.profile-photo-modal strong {
    display: block;
    margin-top: 0.75rem;
    color: #4c0519;
}

.profile-photo-modal-close {
    position: absolute;
    top: 0.4rem;
    right: 0.55rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: #fff1f2;
    color: #9f1239;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.admin-management-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
}

.admin-management-card {
    display: flex;
    flex-direction: column;
    min-height: 11.5rem;
    overflow: hidden;
}

.admin-management-card span,
.admin-management-card small {
    overflow-wrap: anywhere;
}

.admin-management-card small {
    display: -webkit-box;
    min-height: 3.9rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.admin-management-actions {
    margin-top: auto;
    padding-top: 0.9rem;
}

.admin-management-actions .btn {
    width: 100%;
    max-width: 11rem;
    padding-inline: 0.8rem;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
}

.admin-season-calendar-card small {
    display: block;
    min-height: 0;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-height: 1.5;
    margin-top: 0.35rem;
}

.admin-season-calendar-card .admin-management-actions .btn {
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    line-height: 1.4;
}

.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;
}

.addon-assignment-stack {
    display: grid;
    min-width: min(16rem, 72vw);
    gap: 0.55rem;
}

.addon-assignment-stack label {
    display: grid;
    gap: 0.25rem;
    color: #7f1d1d;
    font-size: 0.82rem;
    font-weight: 800;
}

.addon-assignment-stack .btn {
    justify-self: flex-start;
}

.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;
}

.inline-upload-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    margin-top: 0.65rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(251, 113, 133, 0.35);
    border-radius: 999px;
    color: #881337;
    background: #fff1f2;
    font-size: 0.9rem;
    font-weight: 800;
}

.inline-upload-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(190, 18, 60, 0.18);
    border-top-color: #be123c;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.admin-profile-photo-preview {
    width: 5rem;
    height: 5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff1f2;
    box-shadow: 0 8px 18px rgba(136, 19, 55, 0.16);
}

.admin-profile-photo-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .malarikkal-public-page {
        padding-bottom: 0;
    }

    .malarikkal-hero {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
    }

    .malarikkal-hero-content {
        max-width: none;
    }

    .hero-booking-card {
        width: auto;
        margin: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 720px) {
    .site-footer {
        display: none;
    }

    .confirmation-card,
    .malarikkal-map-section {
        align-items: flex-start;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .footer-section {
        width: 100%;
    }

    .footer-credit {
        text-align: left;
    }

    .malarikkal-hero-content {
        padding: 2rem 1.25rem 1.25rem;
    }

    .malarikkal-hero {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
    }

    .malarikkal-hero h1 {
        font-size: clamp(2rem, 12vw, 3rem);
        letter-spacing: -0.03em;
    }

    .malarikkal-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .malarikkal-badges,
    .malarikkal-actions,
    .malarikkal-stats,
    .malarikkal-highlight-list {
        gap: 0.55rem;
    }

    .malarikkal-actions .btn,
    .final-cta .btn,
    .package-card .btn,
    .hero-booking-card .btn {
        width: 100%;
        text-align: center;
    }

    .malarikkal-stats div {
        width: 100%;
        min-width: 0;
    }

    .hero-booking-card {
        width: auto;
        margin: 0 1.25rem 1.25rem;
    }

    .package-grid,
    .malarikkal-card-grid,
    .contact-form-grid,
    .contact-channel-grid,
    .gallery-page-grid,
    .admin-gallery-list,
    .admin-gallery-upload-grid,
    .admin-filter-grid {
        grid-template-columns: 1fr;
    }

    .contact-channel-card p {
        min-height: 0;
    }

    .admin-pagination,
    .admin-pagination div {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-pagination .btn {
        width: 100%;
        text-align: center;
    }

    .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-back-to-top {
        display: none;
    }

    main:has(.mobile-sticky-actions) {
        padding-bottom: 7.25rem;
    }

    .site-nav-toggle:focus { outline: 3px solid rgba(251,113,133,0.14); }
}

@media (max-width: 600px) {
    .container {
        padding: 0 0.8rem;
    }

    .site-header {
        padding: 0.75rem;
        gap: 0.65rem;
        border-radius: 1.1rem;
    }

    .brand-logo {
        width: 3.4rem;
        height: 3.4rem;
        flex-basis: 3.4rem;
        border-radius: 0.95rem;
    }

    .site-brand {
        gap: 0.7rem;
        min-width: 0;
    }

    .site-brand strong {
        font-size: 1rem;
        line-height: 1.15;
    }

    .site-nav.open {
        margin-top: 0.55rem;
        gap: 0.4rem;
    }

    .site-nav a {
        padding: 0.58rem 0.7rem;
    }

    .malarikkal-hero-content {
        padding: 1.5rem 1rem 1rem;
    }

    .malarikkal-hero h1 {
        margin: 0.75rem 0;
        font-size: clamp(1.8rem, 11vw, 2.65rem);
    }

    .malarikkal-subtitle {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .malarikkal-badges,
    .malarikkal-actions,
    .malarikkal-stats,
    .malarikkal-highlight-list {
        gap: 0.45rem;
    }

    .btn,
    .site-nav-toggle {
        padding: 0.48rem 0.78rem;
    }

    .package-section,
    .steps-section,
    .final-cta {
        margin: 1.5rem 0;
    }

    .section-heading-row {
        gap: 0.65rem;
        margin-bottom: 0.75rem;
    }

    .section-heading-row h2 {
        font-size: clamp(1.45rem, 8vw, 2rem);
    }

    .package-grid,
    .malarikkal-card-grid,
    .steps-section {
        gap: 0.8rem;
    }

    .photo-shoot-hero {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        padding: 1.1rem;
        border-radius: 1.1rem;
    }

    .photo-shoot-hero h1 {
        font-size: clamp(1.85rem, 11vw, 2.7rem);
    }

    .photo-shoot-hero p {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .photo-shoot-hero-actions .btn,
    .photo-shoot-submit-panel .btn,
    .photo-shoot-package-card .btn {
        width: 100%;
        text-align: center;
    }

    .photo-shoot-package-grid,
    .photo-shoot-trust-grid,
    .photo-shoot-sample-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .admin-management-grid {
        grid-template-columns: 1fr;
    }

    .admin-management-card {
        min-height: 0;
    }

    .admin-management-card small {
        min-height: 0;
    }

    .admin-management-actions .btn {
        max-width: none;
    }

    .operators-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .operator-public-card {
        border-radius: 1rem;
    }

    .operator-public-media {
        min-height: 0;
    }

    .operator-public-media img,
    .operator-public-placeholder {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .operator-public-body {
        padding: 1rem;
    }

    .operator-public-heading {
        align-items: flex-start;
        gap: 0.7rem;
    }

    .operator-public-photo-button,
    .operator-public-heading > img {
        width: 3rem;
        height: 3rem;
        flex-basis: 3rem;
    }

    .operator-public-heading h2 {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .verified-badge {
        margin-top: 0.3rem;
        margin-left: 0;
    }

    .operator-public-details {
        grid-template-columns: 1fr;
    }

    .photo-shoot-package-card,
    .photo-shoot-trust-grid article,
    .photo-shoot-fieldset,
    .photo-shoot-submit-panel {
        padding: 1rem;
        border-radius: 1rem;
    }

    .photo-shoot-submit-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .package-card,
    .malarikkal-card,
    .steps-section article,
    .hero-booking-card,
    .malarikkal-booking-panel,
    .malarikkal-highlights,
    .malarikkal-gallery-section,
    .themed-form-card,
    .dashboard-card {
        padding: 1.1rem;
    }

    .hero-booking-card {
        margin: 0 1rem 1rem;
    }

    main:has(.mobile-sticky-actions) {
        padding-bottom: 7.75rem;
    }

    .package-card h3 {
        margin-top: 0.55rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 420px) {
    .container {
        padding: 0 0.65rem;
    }

    .site-header,
    .page-hero,
    .malarikkal-hero,
    .malarikkal-gallery-section,
    .malarikkal-booking-panel,
    .malarikkal-highlights,
    .malarikkal-map-section,
    .final-cta,
    .themed-form-card,
    .dashboard-card {
        border-radius: 1rem;
    }

    .page-hero,
    .final-cta {
        padding: 1.5rem 1rem;
    }

    .package-card,
    .malarikkal-card,
    .malarikkal-gallery-section,
    .malarikkal-booking-panel,
    .malarikkal-highlights,
    .malarikkal-map-copy,
    .themed-form-card,
    .dashboard-card {
        padding: 1rem;
    }

    .hero-booking-card {
        margin: 0 0.85rem 1rem;
        padding: 1rem;
    }

}

@media print {
    body * {
        visibility: hidden;
    }

    .entry-ticket-card,
    .entry-ticket-card * {
        visibility: visible;
    }

    .entry-ticket-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        display: block;
        overflow: visible;
        box-shadow: none;
    }

    .entry-ticket-card::before,
    .entry-ticket-card::after {
        display: none;
    }

    .split-assignment-details dd {
        display: block;
    }

    .split-assignment-details article {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-top: 0.65rem;
    }

    .ticket-status-actions button {
        display: none;
    }
}
