/* ==========================================
   TOURGUIDE LOADING PAGE
   Responsive | Modern | Theme Compatible
========================================== */

.tourguide-loading-page {
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 0;
    background: var(--bg);
    font-family: var(--font-body);
}

.tourguide-loading-page .container {
    width: 100%;
}

.tourguide-loading-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 45px;
    max-width: 550px;
    margin: 0 auto;
    padding: 45px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.tourguide-loading-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg,
            var(--primary),
            var(--primary-light),
            var(--secondary));
}

.tourguide-loading-card::after {
    position: absolute;
    top: -100px;
    left: -100px;
    z-index: -1;
    width: 240px;
    height: 240px;
    content: "";
    background: var(--bg-light);
    border-radius: 50%;
    pointer-events: none;
}

.tourguide-loader-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 260px;
    margin: 0 auto;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 50%;
}

.tourguide-loader-ring {
    position: absolute;
    inset: 14px;
    border: 1px dashed var(--primary-light);
    border-radius: 50%;
    animation: tourguideRotate 18s linear infinite;
}

.tourguide-loader-ring::before,
.tourguide-loader-ring::after {
    position: absolute;
    width: 11px;
    height: 11px;
    content: "";
    background: var(--secondary);
    border-radius: 50%;
}

.tourguide-loader-ring::before {
    top: 32px;
    right: 24px;
}

.tourguide-loader-ring::after {
    bottom: 32px;
    left: 24px;
    background: var(--primary);
}

.tourguide-loader-ring.ring-two {
    inset: 35px;
    border: 1px solid var(--border);
    animation: tourguideRotateReverse 24s linear infinite;
}

.tourguide-loader-ring.ring-two::before {
    top: 15px;
    left: 35px;
    right: auto;
    background: var(--primary-light);
}

.tourguide-loader-ring.ring-two::after {
    display: none;
}

.tourguide-loader-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    color: var(--white);
    font-size: 46px;
    background: linear-gradient(145deg,
            var(--primary-light),
            var(--primary-dark));
    border: 7px solid var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    animation: tourguideFloat 2.5s ease-in-out infinite;
}

.loader-pin {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    color: var(--primary);
    font-size: 19px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.loader-pin.pin-one {
    top: 28px;
    left: 24px;
    animation: tourguideFloat 2.8s ease-in-out infinite;
}

.loader-pin.pin-two {
    right: 20px;
    bottom: 32px;
    color: var(--secondary);
    animation: tourguideFloat 3s ease-in-out infinite 0.4s;
}

.tourguide-loading-content {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: center;
}

.tourguide-loading-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    color: var(--primary-dark);
    font-family: var(--font-button);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}

.loading-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    background: var(--success);
    border-radius: 50%;
    animation: tourguidePulse 1.4s ease-in-out infinite;
}

.tourguide-loading-content h2 {
    margin: 20px 0 12px;
    color: var(--heading);
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 35px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.7px;
}

.tourguide-loading-content h2 span {
    display: block;
    color: var(--primary);
}

.tourguide-loading-description {
    max-width: 430px;
    margin: 0 0 24px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
}

.tourguide-destination-box {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 15px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tourguide-destination-box:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.destination-icon {
    display: flex;
    flex: 0 0 45px;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--primary);
    font-size: 21px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.destination-details {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.destination-details>span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 500;
}

.destination-details h5 {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--heading);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.destination-search-icon {
    flex-shrink: 0;
    color: var(--primary);
    font-size: 19px;
}

.tourguide-progress-section {
    margin-top: 27px;
}

.tourguide-progress-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.tourguide-progress-dots {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
}

.tourguide-progress-dots i {
    display: block;
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    animation: tourguideDot 1s ease-in-out infinite;
}

.tourguide-progress-dots i:nth-child(2) {
    animation-delay: 0.15s;
}

.tourguide-progress-dots i:nth-child(3) {
    animation-delay: 0.3s;
}

.tourguide-progress-track {
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: var(--bg-light);
    border-radius: var(--radius-pill);
}

.tourguide-progress-bar {
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg,
            var(--primary),
            var(--primary-light),
            var(--secondary));
    border-radius: var(--radius-pill);
    animation: tourguideProgress 2.2s ease-in-out infinite;
}

.tourguide-search-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-top: 27px;
}

.tourguide-search-step {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.tourguide-search-step .step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    color: var(--text-light);
    font-size: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: var(--transition);
}

.tourguide-search-step.active {
    color: var(--heading);
}

.tourguide-search-step.active .step-icon {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}

.step-connector {
    flex: 1;
    min-width: 8px;
    height: 1px;
    margin-top: 18px;
    background: var(--border);
}

.tourguide-loading-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding-top: 18px;
    color: var(--text-light);
    font-size: 11px;
    line-height: 1.7;
    border-top: 1px solid var(--border);
}

.tourguide-loading-footer i {
    flex-shrink: 0;
    color: var(--success);
    font-size: 16px;
}

@keyframes tourguideRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes tourguideRotateReverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes tourguideFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes tourguidePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.75);
    }
}

@keyframes tourguideDot {

    0%,
    60%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

@keyframes tourguideProgress {
    0% {
        width: 15%;
        transform: translateX(0);
    }

    50% {
        width: 65%;
        transform: translateX(45%);
    }

    100% {
        width: 25%;
        transform: translateX(300%);
    }
}

@media (max-width: 991.98px) {
    .tourguide-loading-page {
        min-height: 0;
        padding: 40px 0;
    }

    .tourguide-loading-card {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 650px;
        padding: 35px;
    }

    .tourguide-loader-visual {
        width: 215px;
        height: 215px;
    }

    .tourguide-loader-icon {
        width: 95px;
        height: 95px;
        font-size: 39px;
    }

    .tourguide-loader-ring {
        inset: 10px;
    }

    .tourguide-loader-ring.ring-two {
        inset: 28px;
    }

    .tourguide-loading-content h2 {
        font-size: 30px;
    }

    .tourguide-loading-description {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .tourguide-loading-page {
        padding: 24px 12px;
    }

    .tourguide-loading-page .container {
        padding-right: 0;
        padding-left: 0;
    }

    .tourguide-loading-card {
        gap: 24px;
        padding: 25px 18px;
        border-radius: var(--radius);
    }

    .tourguide-loader-visual {
        width: 175px;
        height: 175px;
    }

    .tourguide-loader-icon {
        width: 78px;
        height: 78px;
        font-size: 31px;
        border-width: 5px;
        border-radius: var(--radius-lg);
    }

    .tourguide-loader-ring {
        inset: 8px;
    }

    .tourguide-loader-ring.ring-two {
        inset: 23px;
    }

    .loader-pin {
        width: 35px;
        height: 35px;
        font-size: 16px;
        border-radius: var(--radius-sm);
    }

    .loader-pin.pin-one {
        top: 17px;
        left: 17px;
    }

    .loader-pin.pin-two {
        right: 14px;
        bottom: 20px;
    }

    .tourguide-loading-badge {
        gap: 7px;
        padding: 7px 10px;
        font-size: 9px;
        letter-spacing: 0.6px;
    }

    .tourguide-loading-content h2 {
        margin: 15px 0 10px;
        font-size: 26px;
        letter-spacing: -0.4px;
    }

    .tourguide-loading-description {
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.7;
    }

    .tourguide-destination-box {
        gap: 10px;
        padding: 12px;
    }

    .destination-icon {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
        font-size: 19px;
    }

    .destination-details h5 {
        font-size: 13px;
    }

    .destination-search-icon {
        font-size: 16px;
    }

    .tourguide-progress-section {
        margin-top: 23px;
    }

    .tourguide-progress-heading {
        align-items: flex-start;
        font-size: 11px;
    }

    .tourguide-search-steps {
        gap: 5px;
        margin-top: 24px;
    }

    .tourguide-search-step {
        gap: 6px;
        font-size: 9px;
    }

    .tourguide-search-step .step-icon {
        width: 33px;
        height: 33px;
        font-size: 14px;
    }

    .step-connector {
        min-width: 5px;
        margin-top: 16px;
    }

    .tourguide-loading-footer {
        align-items: flex-start;
        margin-top: 20px;
        padding-top: 15px;
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .tourguide-loading-card {
        padding: 22px 14px;
    }

    .tourguide-loading-content h2 {
        font-size: 23px;
    }

    .tourguide-search-steps {
        gap: 3px;
    }

    .tourguide-search-step {
        font-size: 8px;
    }

    .tourguide-search-step .step-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .step-connector {
        margin-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tourguide-loading-page *,
    .tourguide-loading-page *::before,
    .tourguide-loading-page *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ========================================================= MOBILE ACTION BUTTONS ========================================================= */
.mobile-action-buttons,
.close-btn {
    display: none;
}

@media (max-width: 991px) {
    .search-area.modify-area {
        margin: 0;
        padding: 0;
        background: transparent;
        position: unset;
    }

    .mobile-action-buttons {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin: 15px 0 15px;
        padding: 8px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: var(--surface);
        box-shadow: var(--shadow-sm);
    }

    .mobile-action-buttons .sidebar-toggle {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 42px;
        padding: 9px 14px;
        border: 0;
        border-radius: var(--radius-sm);
        background: var(--primary);
        color: var(--white);
        font-family: var(--font-button);
        font-size: 12px;
        font-weight: 600;
        line-height: 1;
        text-decoration: none;
        cursor: pointer;
        transition: var(--transition);
    }

    .mobile-action-buttons .sidebar-toggle i {
        font-size: 14px;
    }

    .mobile-action-buttons .sidebar-toggle:hover {
        background: var(--primary-dark);
        color: var(--white);
        text-decoration: none;
    }

    .mobile-action-buttons .sidebar-toggle:active {
        transform: translateY(1px);
    }

    .filter-toggle {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1020;
        width: min(90%, 400px);
        height: 100dvh;
        padding: 20px;
        padding-top: 60px;
        background: var(--surface);
        border-right: 1px solid var(--border);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-105%);
        visibility: hidden;
        box-shadow: var(--shadow-sm);
        transition: transform var(--transition), visibility 0s linear .3s;
    }

    .filter-toggle.active {
        transform: translateX(0);
        visibility: visible;
        transition: transform var(--transition), visibility 0s linear 0s;
    }

    .close-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .close-btn i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid var(--border);
        border-radius: var(--radius-pill);
        background: var(--surface);
        color: var(--heading);
        font-size: 14px;
        cursor: pointer;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
    }

    .close-btn i:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
        transform: rotate(90deg);
    }

    .close-btn i:active {
        transform: rotate(90deg) scale(.94);
    }

    .filter-toggle {
        scrollbar-width: thin;
        scrollbar-color: var(--border) transparent;
    }

    .filter-toggle::-webkit-scrollbar {
        width: 5px;
    }

    .filter-toggle::-webkit-scrollbar-track {
        background: transparent;
    }

    .filter-toggle::-webkit-scrollbar-thumb {
        background: var(--border);
        border-radius: var(--radius-pill);
    }

    .filter-toggle::-webkit-scrollbar-thumb:hover {
        background: var(--text-muted);
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 1010;
        width: 100%;
        height: 100%;
        background: rgba(20, 33, 61, .48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity var(--transition), visibility 0s linear .3s;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity var(--transition), visibility 0s linear 0s;
    }
}

@media (max-width: 575.98px) {
    .mobile-action-buttons {
        gap: 8px;
        margin-bottom: 12px;
        margin-top: 12px;
        padding: 7px;
        border-radius: var(--radius-sm);
    }

    .mobile-action-buttons .sidebar-toggle {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .mobile-action-buttons .sidebar-toggle i {
        font-size: 13px;
    }

    .filter-toggle {
        width: 92%;
        max-width: 360px;
        padding: 16px;
        padding-top: 58px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
    }

    .close-btn i {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

.modify-search-area {
    padding: 30px 0;
    min-height: 100%;
}

.modify-search-area .search-wrapper {
    margin: 0;
    box-shadow: none;
}

.search-area.modify-search-area .tourguide-search.ft-group {
    padding: 15px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

@media (max-width:998px) {
    .modify-search-area {
        padding: 0;
    }

    .search-area.modify-search-area .tourguide-search.ft-group {
        padding: 15px 12px;
    }
}

@media (min-width: 992px) {
    .search-area.modify-search-area .normal-trip{
        border: none;
    }
    .search-area.modify-search-area .normal-trip>.d-lg-flex {
        padding: 0px 0;
    }
}

/* =====================================================
   TOUR GUIDE RESULTS PAGE
   ===================================================== */

.tourguide-result {
    padding-bottom: 50px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text);
}

.tourguide-result .tourguide-mobile-filter {
    margin-bottom: 10px;
}

.tourguide-result .tourguide-modify-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tourguide-result .tourguide-modify-btn i {
    color: var(--secondary);
    font-size: 12px;
}

.tourguide-result .tourguide-modify-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* ---------- Page header ---------- */
.tourguide-result .tourguide-page-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 28px 24px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--primary-light));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.tourguide-result .tourguide-page-header::before,
.tourguide-result .tourguide-page-header::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.tourguide-result .tourguide-page-header::before {
    width: 220px;
    height: 220px;
    top: -90px;
    right: -60px;
    background: color-mix(in srgb, var(--bg) 18%, transparent);
}

.tourguide-result .tourguide-page-header::after {
    width: 140px;
    height: 140px;
    bottom: -70px;
    left: 30%;
    background: color-mix(in srgb, var(--white) 6%, transparent);
}

.tourguide-result .tourguide-heading-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.tourguide-result .tourguide-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    background: color-mix(in srgb, var(--bg-light) 100%, transparent);
    color: var(--primary);
    border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.tourguide-result .tourguide-title {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
}

.tourguide-result .tourguide-title span {
    display: block;
    color: var(--white);
}

.tourguide-result .tourguide-description {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--white) 80%, transparent);
}

/* ---------- Results header ---------- */
.tourguide-result .tourguide-results-header {
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--secondary);
}

.tourguide-result .tourguide-results-header h2 {
    margin: 0 0 2px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-result .tourguide-results-header p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

/* ---------- Guide card ---------- */
.tourguide-result .tourguide-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tourguide-result .tourguide-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

/* Image */
.tourguide-result .tourguide-card-image {
    position: relative;
    aspect-ratio: 4 / 3.4;
    overflow: hidden;
    background: var(--bg-light);
}

.tourguide-result .tourguide-card-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, color-mix(in srgb, var(--primary-dark) 55%, transparent), transparent);
    pointer-events: none;
}

.tourguide-result .tourguide-profile-link {
    display: block;
    width: 100%;
    height: 100%;
}

.tourguide-result .tourguide-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tourguide-result .tourguide-card:hover .tourguide-profile-image {
    transform: scale(1.07);
}

/* Rating */
.tourguide-result .tourguide-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-family: var(--font-number);
    font-size: 11px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.tourguide-result .tourguide-rating i {
    font-size: 10px;
}

/* Verified badge */
.tourguide-result .tourguide-verified-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.tourguide-result .tourguide-verified-badge i {
    font-size: 11px;
}

/* Body */
.tourguide-result .tourguide-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px;
}

.tourguide-result .tourguide-name-row {
    margin-bottom: 4px;
}

.tourguide-result .tourguide-name {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading);
    text-transform: capitalize;
}

.tourguide-result .tourguide-tagline {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.45;
    font-style: italic;
    color: var(--text-light);
}

/* Info rows */
.tourguide-result .tourguide-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px dashed var(--border);
}

.tourguide-result .tourguide-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    background: color-mix(in srgb, var(--bg-light) 100%, var(--white));
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.tourguide-result .tourguide-info-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tourguide-result .tourguide-info-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tourguide-result .tourguide-info-content strong {
    font-size: 12px;
    font-weight: 600;
    color: var(--heading);
}

.tourguide-result .tourguide-languages {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* Verification status */
.tourguide-result .tourguide-verification-status {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    margin: 8px 0 14px;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
}

.tourguide-result .tourguide-verification-status.is-verified {
    background: color-mix(in srgb, var(--success) 12%, var(--white));
    color: var(--success);
}

.tourguide-result .tourguide-verification-status.is-unverified {
    background: color-mix(in srgb, var(--danger) 10%, var(--white));
    color: var(--danger);
}

/* Profile button */
.tourguide-result .tourguide-profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding: 10px 14px;
    background: var(--primary);
    color: var(--white);
    border: 0;
    border-radius: var(--radius);
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.tourguide-result .tourguide-profile-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.tourguide-result .tourguide-profile-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.tourguide-result .tourguide-profile-btn:hover i {
    transform: translateX(4px);
}

/* ---------- Empty / error states ---------- */
.tourguide-result .tourguide-empty-state,
.tourguide-result .tourguide-no-results {
    max-width: 520px;
    margin: 20px auto;
    padding: 32px 24px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.tourguide-result .tourguide-empty-image {
    max-width: 180px;
    width: 100%;
    margin-bottom: 14px;
}

.tourguide-result .tourguide-empty-state h2,
.tourguide-result .tourguide-no-results h3 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-result .tourguide-empty-state p,
.tourguide-result .tourguide-no-results p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-light);
}

.tourguide-result .tourguide-empty-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.tourguide-result .tourguide-no-results>i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    background: color-mix(in srgb, var(--secondary) 16%, var(--white));
    color: var(--secondary-dark);
    border-radius: 50%;
    font-size: 24px;
}

.tourguide-result .tourguide-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 22px;
    background: var(--primary);
    color: var(--white);
    border: 0;
    border-radius: var(--radius-pill);
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.tourguide-result .tourguide-home-btn:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .tourguide-result {
        padding-top: 14px;
    }

    .tourguide-result .tourguide-page-header {
        padding: 22px 16px;
        border-radius: var(--radius-lg);
    }

    .tourguide-result .tourguide-title {
        font-size: 21px;
    }

    .tourguide-result .tourguide-card-image {
        aspect-ratio: 16 / 11;
    }
}



/* =====================================================
   TOUR GUIDE PROFILE PAGE
   ===================================================== */

.tourguide-profile-page {
    padding: 24px 0 50px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text);
}

.tourguide-profile-page .tourguide-profile-card {
    position: sticky;
    top: 90px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.tourguide-profile-page .tourguide-profile-cover {
    position: relative;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--primary-light));
}

.tourguide-profile-page .tourguide-profile-cover::before,
.tourguide-profile-page .tourguide-profile-cover::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.tourguide-profile-page .tourguide-profile-cover::before {
    width: 150px;
    height: 150px;
    top: -70px;
    right: -40px;
    background: color-mix(in srgb, var(--white) 22%, transparent);
}

.tourguide-profile-page .tourguide-profile-cover::after {
    width: 90px;
    height: 90px;
    bottom: -50px;
    left: 25%;
    background: color-mix(in srgb, var(--white) 7%, transparent);
}

.tourguide-profile-page .tourguide-profile-main {
    padding: 0 18px 18px;
}

.tourguide-profile-page .tourguide-profile-top {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: -42px;
}

.tourguide-profile-page .tourguide-profile-avatar {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    overflow: hidden;
    background: var(--surface);
    border: 4px solid var(--surface);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary), var(--shadow);
}

.tourguide-profile-page .tourguide-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tourguide-profile-page .tourguide-profile-heading {
    min-width: 0;
    padding-top: 48px;
}

.tourguide-profile-page .tourguide-profile-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 10px;
    background: color-mix(in srgb, var(--secondary) 18%, var(--white));
    color: var(--secondary-dark);
    border-radius: var(--radius-pill);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tourguide-profile-page .tourguide-profile-name {
    margin: 0 0 4px;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--heading);
    text-transform: capitalize;
}

.tourguide-profile-page .tourguide-profile-tagline {
    margin: 0 0 10px;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-light);
}

.tourguide-profile-page .tourguide-profile-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: 11px;
}

.tourguide-profile-page .tourguide-profile-rating i {
    font-size: 11px;
}

.tourguide-profile-page .tourguide-profile-rating strong {
    font-family: var(--font-number);
    font-size: 12px;
}

.tourguide-profile-page .tourguide-profile-rating span {
    color: color-mix(in srgb, var(--white) 75%, transparent);
}

.tourguide-profile-page .tourguide-profile-divider {
    height: 1px;
    margin: 16px 0 6px;
    background: linear-gradient(90deg, var(--secondary), var(--border) 40%, transparent);
}

.tourguide-profile-page .tourguide-profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}

.tourguide-profile-page .tourguide-profile-info:last-of-type {
    border-bottom: 0;
}

.tourguide-profile-page .tourguide-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    background: color-mix(in srgb, var(--primary) 16%, var(--white));
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 13px;
}

.tourguide-profile-page .tourguide-info-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tourguide-profile-page .tourguide-info-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tourguide-profile-page .tourguide-info-content strong {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--heading);
}

.tourguide-profile-page .tourguide-profile-verification {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    background: color-mix(in srgb, var(--success) 10%, var(--white));
    border: 1px solid color-mix(in srgb, var(--success) 30%, var(--white));
    border-radius: var(--radius);
    color: var(--success);
}

.tourguide-profile-page .tourguide-profile-verification>i {
    font-size: 22px;
}

.tourguide-profile-page .tourguide-profile-verification strong {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    color: var(--heading);
}

.tourguide-profile-page .tourguide-profile-verification span {
    font-size: 11px;
    color: var(--text-light);
}

.tourguide-profile-page .tourguide-profile-verification:has(.fa-circle-exclamation) {
    background: color-mix(in srgb, var(--warning) 12%, var(--white));
    border-color: color-mix(in srgb, var(--warning) 35%, var(--white));
    color: var(--warning);
}

.tourguide-profile-page .tourguide-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.tourguide-profile-page .tourguide-section-eyebrow {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--secondary-dark);
}

.tourguide-profile-page .tourguide-section-heading h2,
.tourguide-profile-page .tourguide-offers-heading h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-profile-page .tourguide-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 18px;
    box-shadow: var(--shadow-sm);
}

.tourguide-profile-page .tourguide-about-card {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.tourguide-profile-page .tourguide-about-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
}

.tourguide-profile-page .tourguide-about-image img {
    display: block;
    width: 100%;
    max-height: 340px;
    object-fit: cover;
}

.tourguide-profile-page .tourguide-description-text,
.tourguide-profile-page .tourguide-description-more p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text);
}

.tourguide-profile-page .tourguide-description-more {
    margin-top: 8px;
}

.tourguide-profile-page .tourguide-description-more summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.tourguide-profile-page .tourguide-description-more summary::-webkit-details-marker {
    display: none;
}

.tourguide-profile-page .tourguide-description-more summary::after {
    content: "\f078";
    font-family: "FontAwesome";
    font-weight: 900;
    font-size: 9px;
    color: var(--secondary-dark);
    transition: transform 0.3s ease;
}

.tourguide-profile-page .tourguide-description-more[open] summary::after {
    transform: rotate(180deg);
}

.tourguide-profile-page .tourguide-description-more summary:hover {
    color: var(--secondary-dark);
}

.tourguide-profile-page .tourguide-description-more p {
    margin-top: 8px;
}

.tourguide-profile-page .tourguide-offers-section {
    margin-top: 4px;
}

.tourguide-profile-page .tourguide-offers-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--secondary);
}

.tourguide-profile-page .tourguide-offers-heading p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}

.tourguide-profile-page .tourguide-offers-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-family: var(--font-number);
    font-size: 11px;
    font-weight: 700;
}

/* .tourguide-profile-page .tourguide-offers-count i {
    color: var(--secondary);
} */

.tourguide-profile-page .tourguide-offer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tourguide-profile-page .tourguide-offer-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.tourguide-profile-page .tourguide-offer-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-light);
}

.tourguide-profile-page .tourguide-offer-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(to top, color-mix(in srgb, var(--primary-dark) 45%, transparent), transparent);
    pointer-events: none;
}

.tourguide-profile-page .tourguide-offer-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.tourguide-profile-page .tourguide-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tourguide-profile-page .tourguide-offer-card:hover .tourguide-offer-image img {
    transform: scale(1.07);
}

.tourguide-profile-page .tourguide-offer-rating,
.tourguide-profile-page .tourguide-offer-discount {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.tourguide-profile-page .tourguide-offer-rating {
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-number);
}

.tourguide-profile-page .tourguide-offer-rating i {
    font-size: 10px;
}

.tourguide-profile-page .tourguide-offer-discount {
    top: 10px;
    right: 10px;
    background: var(--danger);
    color: var(--white);
}

.tourguide-profile-page .tourguide-offer-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px;
}

.tourguide-profile-page .tourguide-offer-guide {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.tourguide-profile-page .tourguide-offer-guide-avatar {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.tourguide-profile-page .tourguide-offer-guide-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tourguide-profile-page .tourguide-offer-guide-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tourguide-profile-page .tourguide-offer-guide-info span {
    font-size: 10px;
    color: var(--text-muted);
}

.tourguide-profile-page .tourguide-offer-guide-info strong {
    font-size: 12px;
    font-weight: 600;
    color: var(--heading);
    text-transform: capitalize;
}

.tourguide-profile-page .tourguide-offer-title {
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.tourguide-profile-page .tourguide-offer-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--heading);
    text-decoration: none;
    transition: var(--transition);
}

.tourguide-profile-page .tourguide-offer-title a:hover {
    color: var(--secondary-dark);
}

.tourguide-profile-page .tourguide-offer-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 54px;
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-light);
}

.tourguide-profile-page .tourguide-offer-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
}

.tourguide-profile-page .tourguide-offer-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: var(--radius-pill);
    font-family: var(--font-number);
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
}

.tourguide-profile-page .tourguide-offer-duration i {
    color: var(--secondary-dark);
}

.tourguide-profile-page .tourguide-offer-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
    text-align: right;
}

.tourguide-profile-page .tourguide-offer-old-price {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.tourguide-profile-page .tourguide-offer-price strong {
    font-family: var(--font-number);
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
}

.tourguide-profile-page .tourguide-offer-price>span:last-child {
    font-size: 10px;
    color: var(--text-muted);
}

.tourguide-profile-page .tourguide-offer-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-family: var(--font-button);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.tourguide-profile-page .tourguide-offer-book-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.tourguide-profile-page .tourguide-offer-book-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.tourguide-profile-page .tourguide-offer-book-btn:hover i {
    transform: translateX(4px);
}

/* ---------- Empty card ---------- */
.tourguide-profile-page .tourguide-empty-card {
    padding: 40px 24px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.tourguide-profile-page .tourguide-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
    background: color-mix(in srgb, var(--secondary) 16%, var(--white));
    color: var(--secondary-dark);
    border-radius: 50%;
    font-size: 26px;
}

.tourguide-profile-page .tourguide-empty-card h2 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-profile-page .tourguide-empty-card p {
    max-width: 420px;
    margin: 0 auto 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-light);
}

.tourguide-profile-page .tourguide-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.tourguide-profile-page .tourguide-empty-btn:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

@media (max-width: 991px) {
    .tourguide-profile-page .tourguide-profile-card {
        position: static;
    }
}

@media (max-width: 575px) {
    .tourguide-profile-page {
        padding-top: 16px;
    }

    .tourguide-profile-page .tourguide-about-card {
        padding: 14px;
    }

    .tourguide-profile-page .tourguide-offers-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .tourguide-profile-page .tourguide-section-heading h2,
    .tourguide-profile-page .tourguide-offers-heading h2 {
        font-size: 17px;
    }
}



/* =====================================================
   TOUR GUIDE DETAIL PAGE
   ===================================================== */

.tourguide-details {
    padding: 24px 0 50px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text);
}

.tourguide-details .tourguide-section-card,
.tourguide-details .tourguide-info-card,
.tourguide-details .tourguide-intro {
    margin-bottom: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.tourguide-details .tourguide-info-card,
.tourguide-details .tourguide-intro {
    padding: 20px;
}

.tourguide-details .tourguide-section-card {
    overflow: hidden;
    padding: 0;
}

.tourguide-details .tourguide-gallery {
    position: relative;
    background: var(--bg-light);
}

.tourguide-details .tourguide-gallery-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.tourguide-details .tourguide-gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: 16 / 9;
    color: var(--text-muted);
    font-size: 12px;
}

.tourguide-details .tourguide-gallery-placeholder i {
    font-size: 32px;
    color: var(--secondary-dark);
}

.tourguide-details .tourguide-gallery .carousel-control-prev,
.tourguide-details .tourguide-gallery .carousel-control-next {
    top: 50%;
    bottom: auto;
    width: 38px;
    height: 38px;
    margin: 0 12px;
    transform: translateY(-50%);
    background: color-mix(in srgb, var(--primary-dark) 70%, transparent);
    border-radius: 50%;
    opacity: 1;
    transition: var(--transition);
}

.tourguide-details .tourguide-gallery .carousel-control-prev:hover,
.tourguide-details .tourguide-gallery .carousel-control-next:hover {
    background: var(--secondary);
}

.tourguide-details .tourguide-gallery .carousel-control-prev-icon,
.tourguide-details .tourguide-gallery .carousel-control-next-icon {
    width: 14px;
    height: 14px;
}

.tourguide-details .tourguide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 4px 12px;
    background: color-mix(in srgb, var(--primary) 18%, var(--white));
    color: var(--primary-dark);
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.tourguide-details .tourguidedetail-title {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading);
}

.tourguide-details .tourguide-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tourguide-details .tourguide-quick-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-family: var(--font-number);
    font-size: 12px;
    font-weight: 600;
    color: var(--heading);
}

.tourguide-details .tourguide-quick-info i {
    color: var(--secondary-dark);
    font-size: 11px;
}

.tourguide-details .tourguide-short-description {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--text-light);
}

.tourguide-details .tourguide-card-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border);
}

.tourguide-details .tourguide-card-heading h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-details .tourguide-card-heading p {
    margin: 2px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}

.tourguide-details .tourguide-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.tourguide-details .tourguide-icon-success {
    background: var(--success);
    color: var(--white);
}

.tourguide-details .tourguide-icon-danger {
    background: var(--danger);
    color: var(--white);
}

.tourguide-details .tourguide-icon-warning {
    background: var(--warning);
    color: var(--white);
}

.tourguide-details .tourguide-host-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tourguide-details .HostAvatar {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border: 3px solid var(--surface);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--secondary), var(--shadow);
}

.tourguide-details .HostAvatarImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tourguide-details .tourguide-host-content {
    min-width: 0;
}

.tourguide-details .tourguide-host-content h3 {
    margin: 0 0 3px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--heading);
    text-transform: capitalize;
}

.tourguide-details .tourguide-host-content p {
    margin: 0 0 8px;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-light);
}

.tourguide-details .tourguide-language {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 12px;
    background: color-mix(in srgb, var(--secondary) 12%, var(--white));
    border-radius: var(--radius);
    font-size: 12px;
    color: var(--text);
}

.tourguide-details .tourguide-language i {
    margin-top: 2px;
    color: var(--secondary-dark);
}

.tourguide-details .tourguide-language strong {
    color: var(--heading);
}

.tourguide-details .tourguide-rich-content {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text);
    overflow-wrap: anywhere;
}

.tourguide-details .tourguide-rich-content> :last-child {
    margin-bottom: 0;
}

.tourguide-details .tourguide-rich-content p {
    margin-bottom: 10px;
}

.tourguide-details .tourguide-rich-content h1,
.tourguide-details .tourguide-rich-content h2,
.tourguide-details .tourguide-rich-content h3,
.tourguide-details .tourguide-rich-content h4 {
    margin: 14px 0 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-details .tourguide-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.tourguide-details .tourguide-rich-content table {
    width: 100%;
    display: block;
    overflow-x: auto;
}

.tourguide-details .tourguide-rich-content ul,
.tourguide-details .tourguide-rich-content ol {
    margin: 0 0 10px;
    padding-left: 0;
    list-style: none;
}

.tourguide-details .tourguide-rich-content li {
    position: relative;
    margin-bottom: 6px;
    padding-left: 24px;
}

.tourguide-details .tourguide-rich-content li::before {
    content: "\f00c";
    position: absolute;
    top: 1px;
    left: 0;
    font-family: "FontAwesome";
    font-weight: 900;
    font-size: 11px;
    color: var(--secondary-dark);
}

.tourguide-details .tourguide-inclusions li::before {
    content: "\f00c";
    color: var(--success);
}

.tourguide-details .tourguide-exclusions li::before {
    content: "\f00d";
    color: var(--danger);
}

.tourguide-details .experienceScheduleItemsContainer {
    position: relative;
    padding-left: 4px;
}

.tourguide-details .experienceScheduleItem {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 18px;
}

.tourguide-details .experienceScheduleItem:last-child {
    padding-bottom: 0;
}

.tourguide-details .experienceScheduleItem::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 0;
    left: 14px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--border) 0 4px, transparent 4px 8px);
}

.tourguide-details .experienceScheduleItem:last-child::before {
    display: none;
}

.tourguide-details .tourguide-timeline-marker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    background: color-mix(in srgb, var(--secondary) 18%, var(--white));
    color: var(--secondary-dark);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    font-size: 12px;
}

.tourguide-details .experienceScheduleMeetingPoint .tourguide-timeline-marker {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.tourguide-details .tourguide-timeline-content {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.tourguide-details .experienceScheduleWhenTitle {
    margin: 0 0 4px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-details .experienceScheduleWhat {
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-light);
}

.tourguide-details .tourguide-booking-sticky {
    position: sticky;
    top: 90px;
}

.tourguide-details .tourguide-booking-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.tourguide-details .tourguide-booking-heading {
    position: relative;
    overflow: hidden;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--primary-light));
    color: var(--white);
}

.tourguide-details .tourguide-booking-heading::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -30px;
    width: 130px;
    height: 130px;
    background: color-mix(in srgb, var(--secondary) 22%, transparent);
    border-radius: 50%;
    pointer-events: none;
}

.tourguide-details .tourguide-booking-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.1px;
    color: var(--white);
}

.tourguide-details .tourguide-booking-heading h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 2px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.tourguide-details .tourguide-booking-heading p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 12px;
    color: color-mix(in srgb, var(--white) 78%, transparent);
}

.tourguide-details .tourguide-price-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 20px 0;
    padding: 12px 14px;
    background: color-mix(in srgb, var(--primary) 12%, var(--white));
    border: 1px solid color-mix(in srgb, var(--primary) 40%, var(--white));
    border-radius: var(--radius-lg);
}

.tourguide-details .tourguide-price-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tourguide-details .tourguide-price strong {
    font-family: var(--font-number);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--heading);
}

.tourguide-details .tourguide-price>div>span {
    font-size: 11px;
    color: var(--text-muted);
}

.tourguide-details .experienceTimer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    border-left: 1px dashed var(--secondary-dark);
}

.tourguide-details .experienceTimer i {
    font-size: 18px;
    color: var(--secondary-dark);
}

.tourguide-details .experienceTimer span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.tourguide-details .experienceTimer strong {
    font-family: var(--font-number);
    font-size: 12px;
    color: var(--heading);
}

.tourguide-details .experienceTimer small {
    font-size: 10px;
    color: var(--text-muted);
}

.tourguide-details .tourguide-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 20px 0;
    font-family: var(--font-number);
    font-size: 12px;
    font-weight: 600;
    color: var(--heading);
}

.tourguide-details .tourguide-rating-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--secondary);
    font-size: 12px;
}

.tourguide-details .tourguidedetail-form {
    padding: 16px 20px 20px;
}

.tourguide-details .tourguidedetail-form .form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--heading);
}

.tourguide-details .tourguidedetail-form .form-label i {
    color: var(--secondary-dark);
}

.tourguide-details .tourguidedetail-form .form-control,
.tourguide-details .tourguidedetail-form .form-select {
    height: 42px;
    padding: 0 12px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--heading);
    box-shadow: none;
    transition: var(--transition);
}

.tourguide-details .tourguidedetail-form .form-control:focus,
.tourguide-details .tourguidedetail-form .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary) 25%, transparent);
}

.tourguide-details .tourguidedetail-form .form-control[readonly]:not(:disabled) {
    background-color: var(--surface);
    cursor: pointer;
}

.tourguide-details .tourguidedetail-form .form-control:disabled,
.tourguide-details .tourguidedetail-form .form-select:disabled {
    background-color: var(--bg-light);
    color: var(--text-muted);
    cursor: not-allowed;
}

.tourguide-details .tourguide-pax-field {
    position: relative;
}

.tourguide-details .tourguide-pax-field .trigger {
    display: block;
}

.tourguide-details .tourguide-pax-popover {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.tourguide-details .tourguide-pax-popover.show,
.tourguide-details .tourguide-pax-popover.active,
.tourguide-details .tourguide-pax-popover.open {
    display: block;
}

.tourguide-details .tourguide-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 10px 0;
}

.tourguide-details .tourguide-counter-row+.tourguide-counter-row {
    border-top: 1px dashed var(--border);
}

.tourguide-details .tourguide-counter-label {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.tourguide-details .tourguide-counter-label strong {
    font-size: 13px;
    color: var(--heading);
}

.tourguide-details .tourguide-counter-label strong i {
    margin-right: 4px;
    color: var(--secondary-dark);
}

.tourguide-details .tourguide-counter-label small {
    font-size: 11px;
    color: var(--text-muted);
}

.tourguide-details .number-spinner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    gap: 10px;
}

.tourguide-details .number-spinner .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background: var(--primary);
    color: var(--white);
    border: 0;
    border-radius: 50%;
    font-size: 11px;
    transition: var(--transition);
}

.tourguide-details .number-spinner .btn:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.tourguide-details .tts_traveller__counter_span {
    min-width: 22px;
    text-align: center;
    font-family: var(--font-number);
    font-size: 15px;
    font-weight: 700;
    color: var(--heading);
}


.tourguide-details .tourguidedetail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.tourguide-details .tourguidedetail-item img {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.tourguide-details .tourguide-host-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-dark);
}

.tourguide-details .tourguidedetail-item h3 {
    margin: 1px 0 2px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: capitalize;
}

.tourguide-details .tourguidedetail-item h3 a {
    color: var(--heading);
    text-decoration: none;
}

.tourguide-details .tourguidedetail-item h3 a:hover {
    color: var(--secondary-dark);
}

.tourguide-details .tourguidedetail-item p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-light);
}

.tourguide-details .BookButtonContainer {
    margin-bottom: 10px;
}

.tourguide-details .tourguidebtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: var(--radius);
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.tourguide-details .tourguide-book-btn {
    background: var(--secondary);
    color: var(--white);
    border: 1px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.tourguide-details .tourguide-book-btn:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.tourguide-details .tourguide-enquiry-btn {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.tourguide-details .tourguide-enquiry-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.tourguide-details .tourguide-booking-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-muted);
}

.tourguide-details .tourguide-booking-note i {
    color: var(--success);
}

/* ---------- Empty state ---------- */
.tourguide-details .tourguide-empty-state {
    max-width: 520px;
    margin: 20px auto;
    padding: 32px 24px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.tourguide-details .tourguide-empty-state img {
    max-width: 180px;
    width: 100%;
    margin-bottom: 14px;
}

.tourguide-details .tourguide-empty-state h2 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-details .tourguide-empty-state p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-light);
}

.tourguide-details .tourguide-empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 22px;
    background: var(--primary);
    color: var(--white);
    border: 0;
    border-radius: var(--radius-pill);
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.tourguide-details .tourguide-empty-state .btn:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

@media (max-width: 991px) {
    .tourguide-details .tourguide-booking-sticky {
        position: static;
    }
}

@media (max-width: 575px) {
    .tourguide-details {
        padding-top: 16px;
    }

    .tourguide-details .tourguide-info-card,
    .tourguide-details .tourguide-intro {
        padding: 14px;
    }

    .tourguide-details .tourguidedetail-title {
        font-size: 19px;
    }

    .tourguide-details .tourguide-host-profile {
        flex-direction: column;
        align-items: flex-start;
    }

    .tourguide-details .tourguide-price-panel {
        margin-inline: 14px;
    }

    .tourguide-details .tourguide-rating {
        margin-inline: 14px;
    }

    .tourguide-details .tourguidedetail-form {
        padding: 14px;
    }
}


/* =====================================================
   TOUR GUIDE ENQUIRY MODAL
   Scoped under .tourguide-enquiry-modal
   ===================================================== */

.tourguide-enquiry-modal .modal-content {
    overflow: hidden;
    background: var(--surface);
    border: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text);
}

/* ---------- Header ---------- */
.tourguide-enquiry-modal .modal-header {
    position: relative;
    overflow: hidden;
    align-items: center;
    padding: 18px 22px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--primary-light));
    border-bottom: 3px solid var(--secondary);
}

.tourguide-enquiry-modal .modal-header::before {
    content: "";
    position: absolute;
    top: -60px;
    right: 40px;
    width: 150px;
    height: 150px;
    background: color-mix(in srgb, var(--secondary) 20%, transparent);
    border-radius: 50%;
    pointer-events: none;
}

.tourguide-enquiry-modal .tourguide-modal-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.tourguide-enquiry-modal .tourguide-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: var(--radius-lg);
    font-size: 18px;
    box-shadow: var(--shadow-sm);
}

.tourguide-enquiry-modal .modal-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.tourguide-enquiry-modal .tourguide-modal-subtitle {
    margin-top: 2px;
    font-size: 12px;
    color: color-mix(in srgb, var(--white) 78%, transparent);
}

.tourguide-enquiry-modal .btn-close {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    background-color: color-mix(in srgb, var(--white) 15%, transparent);
    background-size: 11px;
    border-radius: 50%;
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 1;
    transition: var(--transition);
}

.tourguide-enquiry-modal .btn-close:hover {
    background-color: color-mix(in srgb, var(--white) 30%, transparent);
    transform: rotate(90deg);
}

.tourguide-enquiry-modal .btn-close:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary) 40%, transparent);
}

/* ---------- Body ---------- */
.tourguide-enquiry-modal .modal-body {
    padding: 20px 22px 8px;
    background: var(--surface);
}

.tourguide-enquiry-modal .tourguide-form-intro {
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--secondary);
}

.tourguide-enquiry-modal .tourguide-form-intro h6 {
    margin: 0 0 2px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-enquiry-modal .tourguide-form-intro p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

/* ---------- Form fields ---------- */
.tourguide-enquiry-modal .form-label {
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--heading);
}

.tourguide-enquiry-modal .required-mark {
    color: var(--danger);
}

.tourguide-enquiry-modal .form-control,
.tourguide-enquiry-modal .form-select {
    height: 42px;
    padding: 0 12px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--heading);
    box-shadow: none;
    transition: var(--transition);
}

.tourguide-enquiry-modal .form-control::placeholder {
    font-size: 12px;
    color: var(--text-muted);
}

.tourguide-enquiry-modal .form-control:hover,
.tourguide-enquiry-modal .form-select:hover {
    border-color: var(--secondary-dark);
}

.tourguide-enquiry-modal .form-control:focus,
.tourguide-enquiry-modal .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary) 25%, transparent);
}

.tourguide-enquiry-modal .form-control:user-invalid,
.tourguide-enquiry-modal .form-select:user-invalid {
    border-color: var(--danger);
}

.tourguide-enquiry-modal .form-control:user-invalid:focus,
.tourguide-enquiry-modal .form-select:user-invalid:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 20%, transparent);
}

/* Date input with icon */
.tourguide-enquiry-modal .tourguide-input-icon {
    position: relative;
}

.tourguide-enquiry-modal .tourguide-input-icon .form-control {
    padding-right: 38px;
    cursor: pointer;
}

.tourguide-enquiry-modal .tourguide-input-icon .form-control[readonly] {
    background-color: var(--surface);
}

.tourguide-enquiry-modal .tourguide-input-icon i {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--secondary-dark);
    pointer-events: none;
}

/* Textarea */
.tourguide-enquiry-modal .tourguide-comment {
    height: auto;
    min-height: 100px;
    padding: 10px 12px;
    line-height: 1.6;
    resize: vertical;
}

/* ---------- Footer ---------- */
.tourguide-enquiry-modal .modal-footer {
    gap: 10px;
    padding: 14px 22px 20px;
    background: var(--surface);
    border-top: 0;
}

.tourguide-enquiry-modal .modal-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-button);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.tourguide-enquiry-modal .tourguide-cancel-btn {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
}

.tourguide-enquiry-modal .tourguide-cancel-btn:hover {
    background: var(--bg-light);
    color: var(--heading);
    border-color: var(--text-muted);
}

.tourguide-enquiry-modal .tourguide-submit-btn {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.tourguide-enquiry-modal .tourguide-submit-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.tourguide-enquiry-modal .tourguide-submit-btn:hover i {
    color: var(--secondary);
}

.tourguide-enquiry-modal .tourguide-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 575px) {
    .tourguide-enquiry-modal .modal-header {
        padding: 14px 16px;
    }

    .tourguide-enquiry-modal .modal-body {
        padding: 16px 16px 4px;
    }

    .tourguide-enquiry-modal .modal-footer {
        padding: 12px 16px 16px;
    }

    .tourguide-enquiry-modal .tourguide-modal-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .tourguide-enquiry-modal .modal-title {
        font-size: 16px;
    }

    .tourguide-enquiry-modal .tourguide-modal-subtitle {
        display: none;
    }

    .tourguide-enquiry-modal .modal-footer .btn {
        flex: 1;
        padding-inline: 12px;
    }
}


/* =====================================================
   TOUR GUIDE REVIEW / TRAVELLER DETAILS PAGE
   Scoped under .tourguide-review-page
   ===================================================== */

.tourguide-review-page {
    padding: 24px 0 50px;
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text);
}

/* ---------- Page heading ---------- */
.tourguide-review-page .tg-review-heading {
    margin-bottom: 18px;
}

.tourguide-review-page .tg-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--primary-light));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.tourguide-review-page .tg-section-heading::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -30px;
    width: 160px;
    height: 160px;
    background: color-mix(in srgb, var(--secondary) 20%, transparent);
    border-radius: 50%;
    pointer-events: none;
}

.tourguide-review-page .tg-section-heading>div:last-child {
    position: relative;
    z-index: 1;
}

.tourguide-review-page .tg-section-heading .tg-heading-icon {
    background: var(--bg-light);
    color: var(--primary);
}

.tourguide-review-page .tg-section-heading h1 {
    margin: 0 0 2px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.tourguide-review-page .tg-section-heading p {
    margin: 0;
    font-size: 12px;
    color: color-mix(in srgb, var(--white) 78%, transparent);
}

/* ---------- Shared card ---------- */
.tourguide-review-page .tg-review-card {
    margin-bottom: 18px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

/* Card heading */
.tourguide-review-page .tg-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border);
}

.tourguide-review-page .tg-step-label {
    display: block;
    margin-bottom: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--secondary-dark);
}

.tourguide-review-page .tg-card-heading h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-review-page .tg-heading-icon,
.tourguide-review-page .tg-policy-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.tourguide-review-page .tg-confirmed-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 5px 12px;
    background: color-mix(in srgb, var(--success) 12%, var(--white));
    color: var(--success);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
}

/* ---------- Experience summary ---------- */
.tourguide-review-page .tg-experience-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.tourguide-review-page .tg-experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tourguide-review-page .tg-experience-info h3 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--heading);
}

.tourguide-review-page .tg-experience-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: var(--font-number);
    font-size: 12px;
    font-weight: 600;
    color: var(--heading);
}

.tourguide-review-page .tg-experience-meta>span:not(.tg-meta-divider) {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tourguide-review-page .tg-experience-meta i {
    font-size: 11px;
    color: var(--secondary-dark);
}

.tourguide-review-page .tg-meta-divider {
    width: 1px;
    height: 14px;
    background: var(--border);
}

.tourguide-review-page .tg-rating {
    gap: 2px;
}

.tourguide-review-page .tg-rating i {
    color: var(--secondary);
}

.tourguide-review-page .tg-rating span {
    margin-left: 4px;
}

.tourguide-review-page .tg-experience-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-light);
}

/* ---------- Inclusion / Exclusion ---------- */
.tourguide-review-page .tg-policy-box {
    height: 100%;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.tourguide-review-page .tg-inclusion-box {
    background: color-mix(in srgb, var(--success) 6%, var(--white));
    border-color: color-mix(in srgb, var(--success) 25%, var(--white));
}

.tourguide-review-page .tg-exclusion-box {
    background: color-mix(in srgb, var(--danger) 5%, var(--white));
    border-color: color-mix(in srgb, var(--danger) 22%, var(--white));
}

.tourguide-review-page .tg-policy-box h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 2px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-review-page .tg-inclusion-box h3 i {
    color: var(--success);
}

.tourguide-review-page .tg-exclusion-box h3 i {
    color: var(--danger);
}

.tourguide-review-page .tg-policy-caption {
    margin: 0 0 10px;
    font-size: 11px;
    color: var(--text-muted);
}

.tourguide-review-page .tg-policy-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tourguide-review-page .tg-policy-list li {
    position: relative;
    margin-bottom: 7px;
    /* padding-left: 22px; */
    font-size: 12px;
    line-height: 1.6;
    color: var(--text);
}

.tourguide-review-page .tg-policy-list li:last-child {
    margin-bottom: 0;
}

/* .tourguide-review-page .tg-policy-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  font-family: "FontAwesome";
  font-weight: 900;
  font-size: 11px;
}

.tourguide-review-page .tg-inclusion-box .tg-policy-list li::before {
  content: "\f00c";
  color: var(--success);
}

.tourguide-review-page .tg-exclusion-box .tg-policy-list li::before {
  content: "\f00d";
  color: var(--danger);
} */

/* ---------- Cancellation ---------- */
.tourguide-review-page .tg-policy-heading-icon {
    background: var(--warning);
    color: var(--white);
}

.tourguide-review-page .tg-cancellation-content {
    padding: 14px 16px;
    background: var(--bg-light);
    border-left: 4px solid var(--warning);
    border-radius: var(--radius);
    font-size: 12px;
    line-height: 1.8;
    color: var(--text);
    overflow-wrap: anywhere;
}

.tourguide-review-page .tg-cancellation-content> :last-child {
    margin-bottom: 0;
}

.tourguide-review-page .tg-cancellation-content ul,
.tourguide-review-page .tg-cancellation-content ol {
    margin: 0 0 8px;
    padding-left: 18px;
}

/* ---------- Info note ---------- */
.tourguide-review-page .tg-information-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--info) 8%, var(--white));
    border: 1px solid color-mix(in srgb, var(--info) 25%, var(--white));
    border-radius: var(--radius);
}

.tourguide-review-page .tg-information-note i {
    margin-top: 2px;
    font-size: 14px;
    color: var(--info);
}

.tourguide-review-page .tg-information-note p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text);
}

/* ---------- Forms ---------- */
.tourguide-review-page .tg-subsection-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.tourguide-review-page .tg-subsection-heading i {
    color: var(--secondary-dark);
    font-size: 14px;
}

.tourguide-review-page .tg-subsection-heading h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-review-page .tg-optional-label {
    margin-left: 6px;
    padding: 2px 8px;
    background: var(--bg-light);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

.tourguide-review-page .tg-traveller-form>.card,
.tourguide-review-page .tg-gst-form {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: none;
}

.tourguide-review-page .form-label {
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--heading);
}

.tourguide-review-page .form-label span:not(.tg-optional-label) {
    color: var(--danger);
}

.tourguide-review-page .form-control,
.tourguide-review-page .form-select {
    height: 42px;
    padding: 0 12px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--heading);
    box-shadow: none;
    transition: var(--transition);
}

.tourguide-review-page .form-control::placeholder {
    font-size: 12px;
    color: var(--text-muted);
}

.tourguide-review-page .form-control:hover,
.tourguide-review-page .form-select:hover {
    border-color: var(--secondary-dark);
}

.tourguide-review-page .form-control:focus,
.tourguide-review-page .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary) 25%, transparent);
}

.tourguide-review-page textarea.form-control {
    height: auto;
    min-height: 100px;
    padding: 10px 12px;
    line-height: 1.6;
    resize: vertical;
}

/* jQuery Form Validator states */
.tourguide-review-page .form-control.error,
.tourguide-review-page .form-select.error {
    border-color: var(--danger);
}

.tourguide-review-page .form-control.valid,
.tourguide-review-page .form-select.valid {
    border-color: var(--success);
}

.tourguide-review-page .help-block.form-error,
.tourguide-review-page .form-error {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--danger);
}

/* Form sections */
.tourguide-review-page .tg-form-section {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
}

.tourguide-review-page .tg-gst-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.tourguide-review-page .tg-gst-heading p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.tourguide-review-page .tg-gst-toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-button);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    transition: var(--transition);
}

.tourguide-review-page .tg-gst-toggle:hover,
.tourguide-review-page .tg-gst-toggle[aria-expanded="true"] {
    background: var(--primary);
    color: var(--white);
}

.tourguide-review-page .tg-gst-toggle[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.tourguide-review-page .tg-gst-toggle i {
    transition: transform 0.3s ease;
}

/* ---------- Continue payment ---------- */
.tourguide-review-page .tg-continue-payment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.tourguide-review-page .tg-secure-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
}

.tourguide-review-page .tg-secure-note i {
    color: var(--success);
}

.tourguide-review-page .tg-continue-payment .btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 30px;
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-button);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tourguide-review-page .tg-continue-payment .btn-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.tourguide-review-page .tg-continue-payment .btn-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.tourguide-review-page .tg-continue-payment .btn-link:hover i {
    transform: translateX(4px);
}

/* =====================================================
   SIDEBAR: FARE SUMMARY + PROMO
   ===================================================== */
.tourguide-review-page .tg-review-sidebar {
    position: sticky;
    top: 120px;
}

.tourguide-review-page .tg-review-sidebar .tg-review-card {
    padding: 16px;
}

.tourguide-review-page .tg-review-sidebar .card {
    background: transparent;
    border: 0;
    border-radius: 0;
}

.tourguide-review-page .tg-review-sidebar .card-body {
    padding: 0;
}

.tourguide-review-page .tg-fare-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px dashed var(--border);
}

.tourguide-review-page .tg-fare-label {
    font-size: 12px;
    color: var(--text-light);
}

.tourguide-review-page .tg-fare-value {
    font-family: var(--font-number);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--heading);
}

.tourguide-review-page .tg-fare-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    background: var(--primary);
    border: 0;
    border-radius: var(--radius);
}

.tourguide-review-page .tg-fare-total .tg-fare-label,
.tourguide-review-page .tg-fare-total .tg-fare-label strong {
    font-size: 13px;
    color: var(--white);
}

.tourguide-review-page .tg-fare-total .tg-fare-value,
.tourguide-review-page .tg-fare-total .tg-fare-value strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
}

/* Promo */
.tourguide-review-page .tg-coupon-input {
    display: flex;
    gap: 8px;
}

.tourguide-review-page .tg-coupon-input .form-control {
    flex: 1;
    min-width: 0;
    text-transform: uppercase;
}

.tourguide-review-page .tg-coupon-input .btn {
    flex-shrink: 0;
    padding: 0 16px;
    background: var(--primary);
    color: var(--white);
    border: 0;
    border-radius: var(--radius);
    font-family: var(--font-button);
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition);
}

.tourguide-review-page .tg-coupon-input .btn:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.tourguide-review-page .tg-coupon-message {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
}

.tourguide-review-page .tg-available-coupons {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
}

.tourguide-review-page .tg-available-coupons h3 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--heading);
}

.tourguide-review-page .tg-coupon-option {
    margin-bottom: 8px;
    padding: 10px 12px 10px 36px;
    background: var(--bg-light);
    border: 1px dashed var(--secondary-dark);
    border-radius: var(--radius);
    transition: var(--transition);
}

.tourguide-review-page .tg-coupon-option:hover {
    background: color-mix(in srgb, var(--secondary) 10%, var(--white));
}

.tourguide-review-page .tg-coupon-option .form-check-input {
    margin-top: 3px;
    margin-left: -24px;
    border-color: var(--secondary-dark);
}

.tourguide-review-page .tg-coupon-option .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.tourguide-review-page .tg-coupon-option .form-check-label {
    font-family: var(--font-number);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.tourguide-review-page .tg-coupon-option p {
    margin: 3px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-light);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .tourguide-review-page .tg-review-sidebar {
        position: static;
    }
}

@media (max-width: 575px) {
    .tourguide-review-page {
        padding-top: 16px;
    }

    .tourguide-review-page .tg-review-card {
        padding: 14px;
    }

    .tourguide-review-page .tg-section-heading h1 {
        font-size: 16px;
    }

    .tourguide-review-page .tg-gst-heading,
    .tourguide-review-page .tg-continue-payment {
        flex-direction: column;
        align-items: stretch;
    }

    .tourguide-review-page .tg-gst-toggle {
        align-self: flex-start;
    }

    .tourguide-review-page .tg-continue-payment .btn-link {
        width: 100%;
    }

    .tourguide-review-page .tg-secure-note {
        justify-content: center;
    }
}