﻿

/* ===== MODERN FILTER BAR ===== */
.filter-bar {
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
}

    .filter-left i {
        color: #0d6efd;
    }

.view-btn {
    font-size: 20px;
    cursor: pointer;
    color: #777;
    transition: 0.3s;
}

    .view-btn:hover {
        color: #000;
        transform: scale(1.1);
    }

    .view-btn.active {
        color: #0d6efd;
    }

.divider {
    width: 1px;
    height: 22px;
    background: #ddd;
}

.filter-icon {
    color: #0d6efd;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-btn {
    border: none;
    background: #0d6efd;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}

    .filter-btn:hover {
        background: #0b5ed7;
    }

.grid-icons i {
    font-size: 20px;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    transition: 0.3s;
}

    .grid-icons i:hover {
        background: #f1f1f1;
    }

    .grid-icons i.active {
        background: #F0F0F0;
        color: white;
    }

/* ===== GRID ===== */
.beetle-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .beetle-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:576px) {

    .beetle-grid {
        gap: 12px;
    }

    .beetle-title {
        font-size: 16px;
    }

    .beetle-img {
        height: 140px;
    }
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Tablet */
@media (min-width: 768px) {
    .beetle-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .beetle-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(6, 1fr);
    }
}


/* ===== CARD ===== */
.beetle-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    transition: .25s;
}

    .beetle-card:hover {
        transform: translateY(-3px);
    }

.image-area {
    position: relative;
    padding: 12px;
    background: #fff;
}

.beetle-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.rare-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #d4af37;
    color: #1f1f1f;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 30px;
}

.size-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1e4d2b;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 30px;
}

.beetle-content {
    padding: 0 14px 16px;
}

.beetle-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.location-line {
    color: #666;
    font-size: 14px;
}

.country-line {
    margin-top: 6px;
    color: #888;
    font-size: 13px;
}

/* ===== IMAGE FIX (IMPORTANT) ===== */
.beetle-img {
    /*  width: 100%;
            height: 180px; */
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* FIX: show full image */
    background: #ffffff; /* clean background */
    padding: 5px;
}

.beetle-img-wrapper {
    width: 100%;
    height: 180px; /* SAME HEIGHT FOR ALL */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

/* Mobile */
@media (max-width: 576px) {
    .beetle-img {
        height: auto;
        max-height: 110px;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .beetle-img {
        height: 160px;
    }
}

/* Desktop */
/* @media (min-width: 1200px) {
            .beetle-img {
                height: 100%;
                width: 100%;
                align-self: center;
            }
        } */

/* ===== CONTENT ===== */
.beetle-content {
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.beetle-title {
    font-size: 15px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.beetle-sub {
    font-size: 13px;
    color: #666;
}

.beetle-location {
    font-size: 12px;
    color: #888;
}

/* ===== MODAL ===== */
.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    align-items: flex-end;
    z-index: 9999;
}

.modal-sheet {
    width: 100%;
    height: 88vh;
    background: #fff;
    border-radius: 28px 28px 0 0;
    overflow-y: auto;
    animation: slideUp .25s ease;
}

.modal-main-img {
    max-width: 90%;
    max-height: 60vh;
    border-radius: 10px;
    object-fit: contain;
}

.modal-thumbs {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

    .modal-thumbs img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        cursor: pointer;
        opacity: 0.6;
        border: 2px solid transparent;
    }

        .modal-thumbs img.active {
            opacity: 1;
            border-color: white;
        }

.modal-details {
    color: white;
    margin-top: 15px;
    /* Center the box */
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    /* Box styling */
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    /* Keep text left aligned */
    text-align: left;
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

.view-type-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.view-type-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

    .view-type-icons i {
        font-size: 20px;
        cursor: pointer;
        color: #777;
        transition: 0.3s ease;
    }

        .view-type-icons i:hover {
            color: #000;
            transform: scale(1.1);
        }

        .view-type-icons i.active {
            color: #0d6efd;
        }

.world-map-wrapper {
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.specimen-count {
    background: #1e4d2b;
    color: white;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    margin-left: 8px;
}

.mobile-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    border: 1px solid #ececec;
    gap: 12px;
}

/* LEFT + RIGHT GROUPS */
.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ICON BUTTONS */
.toolbar-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

    .toolbar-btn i {
        font-size: 18px;
    }

    /* ACTIVE STATE */
    .toolbar-btn.active {
        background: #1e4d2b;
        color: #fff;
        border-color: #1e4d2b;
    }

/* DIVIDER */
.toolbar-divider {
    width: 1px;
    height: 28px;
    background: #ddd;
    margin: 0 2px;
}

/* MAP BUTTON */
.toolbar-map-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    color: #1e4d2b;
    font-weight: 600;
    padding: 0 4px;
}

    .toolbar-map-btn i {
        font-size: 15px;
    }

@media (max-width: 576px) {

    .toolbar-map-btn span {
        display: none;
    }

    .toolbar-map-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
    }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1199px) {

    .mobile-toolbar {
        padding: 14px 20px;
    }

    .desktop-map-header {
        display: none;
    }

    .toolbar-btn {
        width: 46px;
        height: 46px;
    }

        .toolbar-btn i {
            font-size: 20px;
        }

    .toolbar-map-btn {
        font-size: 15px;
    }

    .catalog-layout {
        display: flex;
        height: calc(100vh - 220px);
        overflow: hidden;
    }

    .catalog-sidebar {
        width: 200%;
        overflow-y: auto;
        /*                 background: #fff;
                border-right: 1px solid #ddd;
 */
    }

    .catalog-map {
        flex: 1;
        display: block !important;
    }

    #mapViewBtn {
        display: none;
    }

    #map {
        min-height: 1200px;
    }
    /* CARD */

    .beetle-list-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 16px;
        min-height: 90px;
        border-bottom: 1px solid #e8e8e8;
        background: #fff;
        position: relative;
        cursor: pointer;
    }

        .beetle-list-card:hover {
            background: #faf8f2;
        }
    /* IMAGE */

    .card-image-wrapper {
        width: 80px;
        height: 80px;
        min-width: 72px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
    }

    .card-image {
        width: 80px !important;
        height: 80px !important;
        max-width: 100px !important;
        max-height: 100px !important;
        object-fit: contain;
    }
    /* HIDE MOBILE OVERLAYS */

    .rare-label {
        display: none;
    }

    .size-label {
        /*  position: static !important;
                background: #174b2d;
                color: #fff;
                font-size: 11px;
                font-weight: 600;
                padding: 3px 8px;
                border-radius: 999px;
                margin-right: 8px; */
        display: none;
    }
    /* CONTENT */

    .list-content {
        flex: 1;
        min-width: 0;
        padding: 0 !important;
    }

    .species-name {
        margin: 0 0 6px;
        font-size: 18px;
        line-height: 1.2;
        color: #2f4f1f;
        font-family: Georgia, serif;
        font-weight: 700;
    }

    .location-row {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 6px;
        font-size: 14px;
        color: #666;
    }

        .location-row i {
            color: #c7a238;
            font-size: 12px;
        }

    .tablet-size-label {
        background: #174b2d;
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        padding: 3px 8px;
        border-radius: 999px;
        display: inline-flex;
        align-self: flex-start;
        margin-right: 8px;
    }

    .country-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: -22px;
        margin-left: 60px;
    }

    .country-text {
        display: flex;
        align-items: center;
        gap: 5px;
        color: #888;
        font-size: 13px;
    }

    .country-flag {
        width: 16px;
        height: 12px;
        border-radius: 2px;
    }

    .details-arrow {
        display: none;
    }
}

/* MOBILE */
@media (max-width: 767px) {

    .mobile-toolbar {
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .mobile-toolbar::-webkit-scrollbar {
            display: none;
        }

    .toolbar-left,
    .toolbar-right {
        width: auto;
        justify-content: flex-start;
        flex-shrink: 0;
    }

    .toolbar-map-btn {
        white-space: nowrap;
    }

        .toolbar-map-btn span {
            font-size: 13px;
        }

    .results-counter {
        text-align: center;
        color: #7d776e;
        font-size: 0.9rem;
        margin: 16px 0;
    }

    .btn-load-more {
        background: transparent;
        border: none;
        color: #2f6b37;
        font-weight: 600;
    }

        .btn-load-more:hover {
            color: #1f4c27;
        }

    .catalog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(160px,1fr));
    }

    #gridContainer.grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    /* LEFT PANEL */
    .catalog-sidebar {
        width: 100%;
        min-width: 0;
        overflow-y: auto;
        /*              background: #fff;
 */ border-radius: 20px;
        box-shadow: 0 4px 14px rgba(0,0,0,.08);
        padding-bottom: 90px;
    }
}

.toolbar-right {
    display: flex;
    gap: 10px;
}

.toolbar-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

    .toolbar-btn.active {
        background: #1e4d2b;
        color: white;
    }


/* RIGHT PANEL */
.catalog-map {
    flex: 1;
    position: sticky;
    top: 20px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
/* 
        .beetle-list-card {
            display: flex;
            gap: 16px;
            padding: 16px;
            border-bottom: 1px solid #ececec;
            cursor: pointer;
            transition: .2s;
        }

            .beetle-list-card:hover {
                background: #fafafa;
            }


            .beetle-list-card.active-card {
                background: #eef7f0;
                border-left: 4px solid #1e4d2b;
                transition: .2s;
            } */



.list-content {
    flex: 1;
}

.list-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

    .list-title-row h3 {
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

.meta-line {
    margin-top: 6px;
    color: #777;
}

.meta-tags {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}


@media (min-width: 1200px) {

    .catalog-sidebar {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 20px;
    }

    .beetle-list-card {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 16px;
        overflow: hidden;
        padding: 0;
        cursor: pointer;
        transition: all .25s ease;
        height: 100%;
    }

        .beetle-list-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,.08);
        }

    .card-image-wrapper {
        width: 100%;
        aspect-ratio: 1/1;
        position: relative;
        background: #fafafa;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
    }

    .card-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .list-content {
        padding: 14px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .species-name {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 48px;
    }

    .location-row {
        font-size: .85rem;
        color: #666;
        margin-bottom: 10px;
    }

    .country-row {
        margin-top: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .country-text {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: .85rem;
    }

    .details-arrow {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: #f4f4f4;
    }

    .tablet-size-label {
        display: none;
    }

    .size-label {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
    }

    .rare-label {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 2;
    }
}

/* MOBILE */
@media(max-width:767px) {
    /* .map-panel
            {
                display: none;
            } */

    .desktop-map-header {
        display: none;
    }

    .desktop-map-legend {
        display: none;
    }

    #mapViewSection {
        display: none;
    }

    .catalog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(160px,1fr));
        gap: 16px;
    }

    .container {
        background: #f5f2ea;
        padding: 12px;
        border-radius: 20px;
    }

    .beetle-list-card {
        padding: 0;
        min-height: 280px;
        border: 1px solid #ececec;
        border-radius: 22px;
        overflow: hidden;
        background: #fff;
        border: 1px solid #e6e1d8;
        box-shadow: 0 2px 8px rgba(0,0,0,.06);
        cursor: pointer;
        display: flex;
        flex-direction: column;
    }

    .card-image-wrapper {
        position: relative;
        height: 150px;
        padding: 20px 8px 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .card-image {
        width: 100%;
        height: 110px;
        object-fit: contain;
        border-radius: 12px;
    }

    .rare-label {
        position: absolute;
        left: 10px;
        top: 10px;
        background: #d9c24c;
        color: #173b1b;
        font-size: 10px;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 999px;
        line-height: 1;
    }

    .size-label {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #173b1b;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 999px;
        line-height: 1;
    }

    .list-thumb {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    .list-content {
        padding: 12px 14px 14px;
        flex: 1;
        min-width: 0;
    }

    .species-name {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.25;
        margin-bottom: 10px;
        color: #222;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        min-height: 44px;
    }

    .location-row {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 15px;
        color: #666;
        margin-bottom: 8px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        min-width: 0;
    }

        .location-row i {
            color: #c79f29;
        }

        .location-row span {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            min-width: 0;
        }

    .tablet-size-label {
        display: none;
    }

    .country-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .country-text {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #888;
        font-size: 14px;
    }

    .country-flag {
        width: 18px;
        height: 14px;
        object-fit: cover;
        border-radius: 2px;
    }

    .details-arrow {
        width: 34px;
        height: 34px;
        border: none;
        border-radius: 50%;
        background: #f3f3f3;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .details-arrow i {
            font-size: 14px;
            color: #777;
        }

    .list-title-row h3 {
        font-size: 14px;
        line-height: 1.2;
    }

    .catalog-layout {
        display: block;
        height: auto;
    }

    .catalog-map, .tool {
        display: none;
    }
}



/* FAMILY */
.family-line {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.country-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #555;
}


/* TABLET */
@media (min-width:768px) and (max-width:1199px) {

    .catalog-layout {
        display: flex;
        height: calc(100vh - 220px);
        overflow: hidden;
    }

    .catalog-sidebar {
        width: 48%;
        max-width: 48%;
        overflow-y: auto;
        /*                 border-right: 1px solid #ddd;
 */
    }

    .catalog-map {
        flex: 1;
        display: block !important;
    }

    #mapViewBtn {
        display: none;
    }
    /* CARD ROW */

    .beetle-list-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px;
        border-bottom: 1px solid #ececec;
        background: #fff;
        position: relative;
        min-height: 95px;
    }

        .beetle-list-card:hover {
            background: #fafaf5;
        }
    /* IMAGE */

    .card-image-wrapper {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        flex: none !important;
        padding: 0 !important;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-image {
        width: 60px !important;
        height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        object-fit: contain !important;
        display: block;
    }
    /* REMOVE MOBILE BADGES */

    .rare-label {
        display: none;
    }

    .size-label {
        position: static;
        display: inline-flex;
        background: #174b2d;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 999px;
        margin-right: 8px;
    }
    /* CONTENT */

    .list-content {
        flex: 1;
        min-width: 0;
        padding: 0 !important;
    }

    .species-name {
        font-size: 28px;
        line-height: 1.1;
        margin: 0 0 8px;
        color: #2d4420;
        font-family: Georgia,serif;
        font-weight: 700;
    }

    .location-row {
        font-size: 15px;
        color: #666;
        margin-bottom: 8px;
    }

    .country-row {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }

    .country-text {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #777;
        font-size: 14px;
    }

    .country-flag {
        width: 18px;
        height: 14px;
    }

    .details-arrow {
        display: none;
    }

    .related-card {
        min-width: 120px !important;
    }
}

/* MOBILE DEFAULT */
.tablet-split-layout {
    display: block;
}

/* TABLET + DESKTOP */
@media (min-width: 768px) and (max-width: 1199px) {

    .tablet-split-layout {
        display: flex;
        gap: 0;
        height: calc(100vh - 140px);
        overflow: hidden;
        border-radius: 18px;
    }

    .list-panel {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
        overflow-y: auto;
        background: #fff;
        border-right: 1px solid #ddd;
    }

    .map-panel {
        flex: 1;
        position: relative;
        background: #dfefff;
        height: 100%;
    }

    #mapViewSection {
        display: block !important;
        height: 100%;
        margin-top: 0;
    }

    .tablet-map,
    #mapSection_map,
    #map {
        height: 100% !important;
    }

    .world-map-wrapper {
        height: 100%;
        border-radius: 0;
        padding: 0;
    }
}

@media (min-width: 768px) {
    /* Default = visible on beetle list page */
    .toolbar-right {
        display: flex;
    }
    /* Hide ONLY when map view is active */
    .map-view-active .toolbar-right {
        display: none;
    }
}

@media (min-width: 992px) {

    .beetle-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .beetle-card {
        flex-direction: row;
        align-items: center;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 12px;
    }

    .image-area {
        width: 90px;
        flex-shrink: 0;
        padding: 0;
    }

    .beetle-img {
        height: 70px;
    }

    .beetle-content {
        padding-left: 14px;
        flex: 1;
    }
}

#mapViewSection {
    margin-top: 20px;
}

#map {
    height: 100%;
    min-height: 400px;
}

.search-filter-wrapper {
    margin-bottom: 18px;
}

.search-box {
    position: relative;
    margin-bottom: 14px;
}

    .search-box i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #888;
    }

    .search-box input {
        width: 100%;
        height: 48px;
        border: none;
        border-radius: 14px;
        padding: 0 16px 0 42px;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,.06);
        font-size: 15px;
    }

        .search-box input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(30,77,43,.15);
        }

.country-filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

    .country-filters::-webkit-scrollbar {
        display: none;
    }

.country-chip {
    border: none;
    background: white;
    border-radius: 999px;
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: .2s;
}

    .country-chip span {
        margin-left: 6px;
        opacity: .7;
    }

    .country-chip.active {
        background: #1e4d2b;
        color: white;
    }


/* =========================================
           MOBILE FLOATING MAP BUTTON
        ========================================= */

.floating-map-btn {
    position: fixed;
    right: 18px;
    bottom: 70px;
    z-index: 9999;
    border: none;
    border-radius: 999px;
    background: #1e4d2b;
    color: white;
    height: 56px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
    transition: .25s ease;
}

    .floating-map-btn i {
        font-size: 16px;
    }

    .floating-map-btn:hover {
        transform: translateY(-2px);
    }

/* Hide on desktop/tablet */
@media (min-width: 768px) {
    .floating-map-btn {
        display: none;
    }
}

/* =========================================
           FULLSCREEN MOBILE MAP
        ========================================= */

#mobileFullscreenMap {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: white;
    display: none;
    flex-direction: column;
}

.map-topbar {
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

    .map-topbar h5 {
        margin: 0;
        font-weight: 700;
    }

.close-map-btn {
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f4f4f4;
    font-size: 18px;
}

.mobile-map-body {
    flex: 1;
}

    .mobile-map-body #mobileMap {
        width: 100%;
        height: 100%;
    }

.modern-modal {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
}

.modal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    color: white;
}

.back-btn {
    border: none;
    background: transparent;
    color: white;
    font-size: 24px;
}

.modal-counter {
    font-size: 18px;
    font-weight: 600;
}

.hero-section {
    position: relative;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: white;
    border-radius: 36px;
    position: relative;
    z-index: 1;
}

.nav-arrow {
    position: absolute;
    z-index: 9999;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 24px;
}

    .nav-arrow.left {
        left: 5px;
    }

    .nav-arrow.right {
        right: 5px;
    }

.thumbnail-row {
    position: relative;
    z-index: 20;
    display: table;
    gap: 12px;
    overflow-x: auto;
    padding: 18px;
}

    .thumbnail-row img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        border-radius: 14px;
        border: 3px solid transparent;
        background: white;
        margin-right: 12px;
        margin-bottom: 12px;
    }

        .thumbnail-row img:last-child {
            margin-right: 0;
        }

        .thumbnail-row img.active {
            border-color: gold;
        }

.modal-content-wrap {
    background: #f7f5f1;
    border-radius: 32px 32px 0 0;
    margin-top: 0px;
    position: relative;
    z-index: 10;
    padding: 24px;
}

.family-label {
    color: #8b8175;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .title-row h1 {
        font-size: 42px;
        color: #173b1b;
        font-family: Georgia, serif;
        margin: 10px 0;
    }

.rare-pill {
    background: #f4e7b8;
    color: #9c6b00;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
}

.meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.meta-pill {
    background: #ebe7df;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
}

.map-card {
    margin-top: 22px;
    border-radius: 24px;
    overflow: hidden;
    background: white;
    border: 1px solid #ddd;
}

#miniMap {
    height: 220px;
}

.map-footer {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
}

.info-table {
    margin-top: 24px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 1px solid #eee;
}

.notes-section {
    margin-top: 28px;
}

    .notes-section h3 {
        color: #173b1b;
        margin-bottom: 14px;
    }

    .notes-section p {
        line-height: 1.7;
        color: #444;
        font-size: 17px;
    }

.related-section {
    margin-top: 30px;
}

    .related-section h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 15px;
    }

.related-species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px,1fr));
    gap: 12px;
}

.related-card {
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
    transition: .2s;
}

    .related-card:hover {
        transform: translateY(-3px);
    }

    .related-card img {
        width: 100%;
        height: 90px;
        object-fit: cover;
    }

    .related-card div {
        padding: 8px;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        line-height: 1.2;
    }

#nextBeetle {
    right: 70px;
}

.modal-close-btn {
    right: 16px;
}

.modal-image-section {
    text-align: center;
    padding: 20px;
}

.modal-main-img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
}

.modal-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 14px;
    justify-content: center;
}

    .modal-thumbs img {
        width: 68px;
        height: 68px;
        border-radius: 12px;
        object-fit: cover;
        cursor: pointer;
        border: 3px solid transparent;
    }

        .modal-thumbs img.active {
            border-color: #1e4d2b;
        }

.modal-content-area {
    padding: 0 20px 24px;
}

.modal-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.info-pill {
    background: #f3f4f6;
    border-radius: 999px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-description {
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

#miniMap {
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-top: 20px;
}

.related-wrapper {
    margin-top: 28px;
}

.related-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.related-card {
    min-width: 150px;
    background: #fafafa;
    border-radius: 16px;
    padding: 10px;
    cursor: pointer;
}

    .related-card img {
        width: 100%;
        height: 110px;
        object-fit: contain;
    }

@media (min-width:768px) and (max-width:1199px) {

    .related-card {
        min-width: 120px;
        padding: 8px;
    }

        .related-card img {
            height: 90px;
        }
}


/* =========================
           PAGE TITLE
        ========================= */

.page-title {
    text-align: center;
    font-weight: 700;
    color: #173b1b;
    margin-bottom: 18px;
    line-height: 1.2;
}

/* Desktop */
@media (min-width: 1200px) {

    .page-title {
        font-size: 2rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {

    .page-title {
        font-size: 1.45rem;
        margin-bottom: 14px;
        padding: 0 16px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .page-title {
        font-size: 1.05rem;
        margin-bottom: 10px;
        padding: 0 10px;
        line-height: 1.3;
        display: none;
    }
}

/* =========================================
           DESKTOP DESIGN (≥1200px) — matches design file
        ========================================= */
.desktop-title-bar {
    display: none;
}

.desktop-filter-sidebar {
    display: none;
}

@media (min-width: 1200px) {

    body {
        background: #F4F1EC !important;
    }
    /* ---- Desktop title bar ---- */
    .desktop-title-bar {
        display: block;
        background: white;
        border-bottom: 1px solid #E2DDD6;
        padding: 20px 0 24px;
        margin-bottom: 32px;
    }

    .dt-inner {
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .dt-breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: #7A7268;
        margin-bottom: 12px;
    }

        .dt-breadcrumb a {
            color: #7A7268;
            text-decoration: none;
        }

            .dt-breadcrumb a:hover {
                color: #2D5A27;
            }

    .dt-title-row {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
    }

    .dt-heading-wrap {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .dt-heading {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 26px;
        font-weight: 700;
        color: #1A1A1A;
        margin: 0;
    }

        .dt-heading span {
            color: #7A7268;
            font-weight: 400;
        }

    .dt-specimen-badge {
        background: #F0EDE6;
        color: #1E3A1E;
        font-size: 13px;
        font-weight: 600;
        padding: 6px 14px;
        border-radius: 999px;
        white-space: nowrap;
    }

    .dt-controls {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .dt-view-toggle {
        display: flex;
        align-items: center;
        background: #F4F1EC;
        border-radius: 10px;
        padding: 4px;
        border: 1px solid #E2DDD6;
        gap: 2px;
    }

    .dt-view-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        border-radius: 7px;
        font-size: 12px;
        font-weight: 500;
        color: #7A7268;
        border: none;
        background: transparent;
        cursor: pointer;
        transition: all 0.15s;
    }

        .dt-view-btn.active {
            background: white;
            color: #1E3A1E;
            font-weight: 600;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

    .dt-map-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        border-radius: 8px;
        background: #1E3A1E;
        color: white;
        font-size: 12px;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: background 0.15s;
    }

        .dt-map-btn:hover {
            background: #2D5A27;
        }

        .dt-map-btn i {
            color: #C9A84C;
        }
    /* ---- Container reset ---- */
    .container.my-4 {
        max-width: 1320px !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
        margin-top: 0 !important;
    }
    /* Hide mobile/tablet chrome */
    .search-filter-wrapper,
    .mobile-toolbar {
        display: none !important;
    }
    /* 3-column grid */
    .tablet-split-layout {
        display: grid !important;
        grid-template-columns: 240px 1fr 380px !important;
        gap: 28px !important;
        align-items: start !important;
        height: auto !important;
        overflow: visible !important;
        border-radius: 0 !important;
    }
    /* ---- Filter sidebar ---- */
    .desktop-filter-sidebar {
        display: block;
        position: sticky;
        top: 96px;
        background: white;
        border-radius: 16px;
        border: 1px solid #E2DDD6;
        box-shadow: 0 1px 4px rgba(0,0,0,0.05);
        padding: 20px;
    }

    .df-search-wrap {
        position: relative;
        margin-bottom: 20px;
    }

        .df-search-wrap i {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #7A7268;
            font-size: 12px;
            pointer-events: none;
        }

        .df-search-wrap input {
            width: 100%;
            background: #FAFAF7;
            border: 1px solid #E2DDD6;
            border-radius: 10px;
            padding: 10px 12px 10px 32px;
            font-size: 13px;
            color: #1A1A1A;
            outline: none;
            transition: border-color 0.15s, box-shadow 0.15s;
        }

            .df-search-wrap input::placeholder {
                color: #AAA49D;
            }

            .df-search-wrap input:focus {
                border-color: #2D5A27;
                box-shadow: 0 0 0 3px rgba(45,90,39,0.13);
            }

    .df-label {
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #5A5651;
        display: block;
        margin-bottom: 8px;
    }

    .df-select-wrap {
        position: relative;
        margin-bottom: 24px;
    }

        .df-select-wrap select {
            width: 100%;
            appearance: none;
            background: #FAFAF7;
            border: 1px solid #E2DDD6;
            border-radius: 10px;
            padding: 10px 32px 10px 12px;
            font-size: 13px;
            color: #1A1A1A;
            outline: none;
            cursor: pointer;
        }

            .df-select-wrap select:focus {
                border-color: #2D5A27;
            }

        .df-select-wrap .df-chevron {
            position: absolute;
            right: 12px;
            top: 70%;
            transform: translateY(-50%);
            color: #7A7268;
            font-size: 10px;
            pointer-events: none;
        }

    .df-country-list {
        margin-bottom: 24px;
    }

    .df-country-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 3px 0;
    }

        .df-country-row label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #1A1A1A;
            cursor: pointer;
            flex: 1;
            margin: 0;
        }

        .df-country-row input[type="checkbox"] {
            accent-color: #1E3A1E;
            width: 14px;
            height: 14px;
            cursor: pointer;
            flex-shrink: 0;
        }

    .df-country-count {
        font-size: 11px;
        color: #7A7268;
    }

    .df-size-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 24px;
    }

        .df-size-row input {
            flex: 1;
            min-width: 0;
            background: #FAFAF7;
            border: 1px solid #E2DDD6;
            border-radius: 8px;
            padding: 8px 6px;
            font-size: 13px;
            text-align: center;
            color: #1A1A1A;
            outline: none;
        }

            .df-size-row input:focus {
                border-color: #2D5A27;
            }

    .df-size-sep {
        font-size: 12px;
        color: #7A7268;
        white-space: nowrap;
    }

    .df-rare-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
        cursor: pointer;
    }

    .df-discover-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 24px;
        cursor: pointer;
    }

    .df-rare-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 500;
        color: #1A1A1A;
    }

    .df-discover-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 500;
        color: #1A1A1A;
    }

    .df-rare-label i {
        color: #C9A84C;
        font-size: 12px;
    }

    .df-toggle {
        width: 36px;
        height: 20px;
        border-radius: 999px;
        background: #E2DDD6;
        position: relative;
        transition: background 0.2s;
        flex-shrink: 0;
    }

        .df-toggle.on {
            background: #1E3A1E;
        }

    .df-toggle-knob {
        position: absolute;
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: white;
        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        transition: left 0.2s;
    }

    .df-toggle.on .df-toggle-knob {
        left: 18px;
    }

    .df-clear-btn {
        width: 100%;
        border: 1px solid #E2DDD6;
        background: white;
        color: #5A5651;
        font-size: 12px;
        font-weight: 600;
        padding: 10px;
        border-radius: 10px;
        cursor: pointer;
        transition: background 0.15s;
    }

        .df-clear-btn:hover {
            background: #FAFAF7;
        }
    /* ---- Cards center column ---- */
    .list-panel {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
    }

    #listViewSection {
        display: block !important;
    }

    #resultsCounter {
        font-size: 13px;
        color: #7A7268;
        margin: 0 0 20px;
        text-align: left;
    }
    /* 3-col grid */
    .catalog-sidebar {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    /* Desktop card */
    .beetle-list-card {
        /*         display: flex !important;
         */ flex-direction: column !important;
        background: white !important;
        border: 1px solid #E2DDD6 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        padding: 0 !important;
        cursor: pointer !important;
        transition: transform 0.15s ease, box-shadow 0.15s ease !important;
        height: 100% !important;
        min-height: auto !important;
    }

        .beetle-list-card:hover {
            transform: translateY(-3px) !important;
            box-shadow: 0 10px 24px rgba(30,58,30,0.13) !important;
        }

    .card-image-wrapper {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        padding: 12px !important;
        overflow: hidden !important;
        min-width: auto !important;
        flex: none !important;
    }

    .card-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        max-width: none !important;
        max-height: none !important;
        border-radius: 0 !important;
    }

    .rare-label {
        display: inline-block !important;
        position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        background: #C9A84C !important;
        color: #1E3A1E !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        padding: 3px 8px !important;
        border-radius: 999px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        z-index: 2 !important;
    }

    .size-label {
        display: inline-block !important;
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        background: #1E3A1E !important;
        color: white !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        padding: 4px 10px !important;
        border-radius: 999px !important;
        z-index: 2 !important;
    }

    .list-content {
        padding: 14px !important;
        display: flex !important;
        flex-direction: column !important;
        flex-grow: 1 !important;
        min-width: 0 !important;
    }

    .species-name {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #1A1A1A !important;
        font-family: Georgia, serif !important;
        margin-bottom: 8px !important;
        min-height: auto !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        -webkit-box-orient: unset !important;
        overflow: visible !important;
        line-height: 1.3 !important;
    }

    .location-row {
        font-size: 12px !important;
        color: #5A5651 !important;
        margin-bottom: 4px !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        white-space: normal !important;
        overflow: visible !important;
    }

        .location-row i {
            color: #C9A84C !important;
            font-size: 11px !important;
        }

    .country-row {
        margin-top: 4px !important;
        margin-left: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 4px !important;
    }

    .country-text {
        font-size: 11px !important;
        color: #7A7268 !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .country-flag {
        width: 16px !important;
        height: 12px !important;
        border-radius: 2px !important;
        object-fit: cover !important;
    }

    .details-arrow {
        display: none !important;
    }

    .tablet-size-label {
        display: none !important;
    }
    /* Load more */
    .btn-load-more {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 28px auto 0;
        padding: 12px 28px;
        border: 1px solid #2D5A27 !important;
        background: white !important;
        color: #2D5A27 !important;
        font-size: 14px;
        font-weight: 600;
        border-radius: 12px;
        cursor: pointer;
        transition: background 0.15s;
    }

        .btn-load-more:hover {
            background: #F0EDE6 !important;
        }

    #loadMoreBtn {
        border: 1px solid #2D5A27 !important;
        background: white !important;
        color: #2D5A27 !important;
        border-radius: 12px !important;
        padding: 12px 28px !important;
        font-weight: 600 !important;
        font-size: 14px !important;
    }
    /* ---- Map panel (right column) ---- */
    .map-panel {
        position: sticky !important;
        top: 96px !important;
        display: block !important;
        height: auto !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        border: 1px solid #E2DDD6 !important;
        box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
        background: white !important;
    }

    .desktop-map-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #1E3A1E;
        padding: 12px 16px;
    }

    .desktop-map-header-left {
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .desktop-map-header-left i {
            color: #C9A84C;
            font-size: 14px;
        }

        .desktop-map-header-left .map-title {
            color: white;
            font-size: 13px;
            font-weight: 600;
        }

        .desktop-map-header-left .map-pins {
            color: #9DB89A;
            font-size: 11px;
        }

    .desktop-map-expand-btn {
        color: #C9A84C;
        font-size: 11px;
        font-weight: 600;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .desktop-map-legend {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 12px 16px;
        border-top: 1px solid #E2DDD6;
    }

    .desktop-map-legend-item {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        color: #5A5651;
    }

    .desktop-map-legend-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }

    #mapViewSection {
        display: block !important;
        margin-top: 0 !important;
        height: 460px !important;
    }

    .world-map-wrapper {
        height: 460px !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    #map {
        height: 460px !important;
        min-height: 460px !important;
    }
}

