:root {
    --wct-primary: #0b1644;
    --wct-primary-soft: #eef2ff;
    --wct-gold: #d7a73f;
    --wct-gold-soft: #fff6dc;
    --wct-ink: #172033;
    --wct-muted: #64748b;
    --wct-line: #e6eaf2;
    --wct-surface: #ffffff;
    --wct-soft: #f7f9fc;
    --wct-radius: 8px;
    --wct-shadow: 0 18px 45px rgba(11, 22, 68, 0.12);
}

body {
    color: var(--wct-ink);
    background: var(--wct-soft);
    text-rendering: optimizeLegibility;
}

a,
button,
.btn,
.link {
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.header-top,
.header {
    box-shadow: 0 1px 0 rgba(11, 22, 68, .08);
}

.header--sticky {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .96) !important;
}

.menu-link {
    color: var(--wct-ink);
    border-radius: 6px;
}

.menu-list.current-page > .menu-link,
.menu-link:hover {
    color: var(--wct-primary) !important;
    background: rgba(215, 167, 63, .12);
}

.btn,
.property-search__btn,
button[type="submit"] {
    border-radius: var(--wct-radius) !important;
}

.bg-primary-300,
.property-search__btn,
.btn.bg-primary-300 {
    background-color: var(--wct-primary) !important;
}

.bg-secondary-300,
.bg-tertiary-300 {
    background-color: var(--wct-gold) !important;
}

.clr-primary-300 {
    color: var(--wct-primary) !important;
}

.clr-secondary-300,
.clr-tertiary-300 {
    color: var(--wct-gold) !important;
}

.page-header {
    background:
        linear-gradient(90deg, rgba(11, 22, 68, .92), rgba(11, 22, 68, .72)),
        url("../img/tanzania/serengeti/serengeti-plains.jpeg") center/cover no-repeat !important;
    color: #fff;
}

.page-header h1,
.page-header p {
    color: #fff !important;
}

.property-card,
.filter-sidebar,
.box-shadow,
.bg-neutral-0.rounded-4 {
    border: 1px solid var(--wct-line);
    border-radius: var(--wct-radius) !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .07);
}

.property-card:hover,
.management-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--wct-shadow);
}

.property-card__img,
.property-card__img img,
.featured-img,
.hotel-img,
.destination-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.property-card__body {
    padding: 1.1rem !important;
}

.form-control,
.form-select,
input,
textarea,
select {
    border-radius: var(--wct-radius) !important;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--wct-gold) !important;
    box-shadow: 0 0 0 .2rem rgba(215, 167, 63, .18) !important;
}

.filter-sidebar {
    position: sticky;
    top: 92px;
}

.wct-mobile-nav {
    display: none;
}

.wct-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    max-width: min(360px, calc(100vw - 2rem));
    padding: .85rem 1rem;
    border-radius: var(--wct-radius);
    background: var(--wct-primary);
    color: #fff;
    box-shadow: var(--wct-shadow);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.wct-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.wct-toast.is-error {
    background: #b42318;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 74px;
    }

    .header-top {
        display: none;
    }

    .menu-nav {
        border-radius: var(--wct-radius);
        overflow: hidden;
    }

    .filter-sidebar {
        position: static;
        margin-bottom: 1rem;
    }

    .section-space {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .wct-mobile-nav {
        position: fixed;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        left: .75rem;
        right: .75rem;
        bottom: .75rem;
        z-index: 1090;
        padding: .45rem;
        border: 1px solid rgba(11, 22, 68, .12);
        border-radius: 14px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 18px 45px rgba(11, 22, 68, .18);
        backdrop-filter: blur(18px);
    }

    .wct-mobile-nav a {
        display: grid;
        place-items: center;
        gap: .1rem;
        min-height: 50px;
        color: var(--wct-muted);
        font-size: .68rem;
        line-height: 1.1;
        text-decoration: none;
        border-radius: 10px;
    }

    .wct-mobile-nav a.is-active {
        color: var(--wct-primary);
        background: var(--wct-gold-soft);
        font-weight: 700;
    }

    .wct-mobile-nav .material-symbols-outlined {
        font-size: 1.25rem;
        line-height: 1;
    }
}

.wct-ticket {
    width: min(100%, 480px);
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--wct-primary, #0b1644);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 16px 50px rgba(11, 22, 68, .16);
}
.wct-ticket__top {
    background: var(--wct-primary, #0b1644);
    color: #fff;
    padding: 18px;
    display: grid;
    gap: 4px;
}
.wct-ticket__top span {
    color: var(--wct-gold, #d7a73f);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .8rem;
}
.wct-ticket__logo {
    display: block;
    width: min(100%, 220px);
    height: auto;
    margin: 0 auto 8px;
    background: #fff;
    border-radius: 6px;
    padding: 6px;
}
.wct-ticket__code {
    font-size: 2rem;
    font-weight: 800;
    padding-top: 24px;
    color: var(--wct-primary, #0b1644);
    letter-spacing: .06em;
}
.wct-ticket h1 {
    font-weight: 800;
    padding: 0 18px;
    font-size: 1.6rem;
}
.wct-ticket__meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px;
}
.wct-ticket__meta span {
    border: 1px solid #e5ebf3;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .85rem;
    font-weight: 700;
}
.wct-ticket__detail {
    color: #53627a;
    padding: 0 18px;
    margin-bottom: .5rem;
}
#wctTicketQr {
    display: grid;
    place-items: center;
    margin: 12px auto 8px;
}
#wctTicketQr img,
#wctTicketQr canvas {
    display: block;
    margin: 0 auto;
}
.wct-ticket__hint,
.wct-ticket__checked {
    padding: 0 18px 18px;
    color: #53627a;
    font-size: .9rem;
}
.wct-ticket__checked {
    color: #08743d;
    font-weight: 700;
    padding-top: 0;
}

body.wct-pay-modal-open {
    overflow: hidden;
}

.wct-pay-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.wct-pay-modal[hidden] {
    display: none !important;
}

.wct-pay-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(215, 167, 63, .22), transparent 42%),
        rgba(11, 22, 68, .72);
    backdrop-filter: blur(8px);
}

.wct-pay-modal__dialog {
    position: relative;
    width: min(100%, 420px);
    padding: 2rem 1.75rem 1.6rem;
    border-radius: 18px;
    background: #fffaf1;
    color: var(--wct-ink);
    text-align: center;
    box-shadow: 0 28px 70px rgba(11, 22, 68, .28);
    border: 1px solid rgba(215, 167, 63, .35);
}

.wct-pay-modal__mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--wct-primary);
    color: var(--wct-gold);
}

.wct-pay-modal[data-state="success"] .wct-pay-modal__mark {
    background: #0f5132;
    color: #b7f7d0;
}

.wct-pay-modal[data-state="error"] .wct-pay-modal__mark {
    background: #7a1d14;
    color: #ffd4ce;
}

.wct-pay-modal__mark .material-symbols-outlined {
    font-size: 2.1rem;
}

.wct-pay-modal__spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(215, 167, 63, .25);
    border-top-color: var(--wct-gold);
    animation: wct-pay-spin .8s linear infinite;
}

.wct-pay-modal__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--wct-primary);
}

.wct-pay-modal__copy {
    color: var(--wct-muted);
    margin-bottom: 0;
    line-height: 1.55;
}

.wct-pay-modal__actions {
    margin-top: 1.35rem;
}

@keyframes wct-pay-spin {
    to { transform: rotate(360deg); }
}
@media print {
    .header, .wct-mobile-nav, .page-header, footer, .btn, #wctTicketExportStatus, .bg-neutral-900 {
        display: none !important;
    }
    .wct-ticket {
        box-shadow: none;
    }
}
