.shore-map-section {
    position: relative;
    overflow: hidden;
    min-height: 1360px;
    background: #046fa5;
}

.shore-map-inner,
.shore-map-wrap,
.shore-map-visual,
.shore-map-image {
    position: relative;
    width: 100%;
    min-height: 1360px;
}

.shore-map-image {
    overflow: hidden;
    background: #046fa5;
}

    .shore-map-image::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, rgba(3, 38, 65, 0.12), transparent 36%, rgba(3, 38, 65, 0.18)), linear-gradient(180deg, rgba(4, 111, 165, 0.04), rgba(0, 25, 45, 0.12));
        pointer-events: none;
    }

    .shore-map-image > img {
        position: absolute;
        inset: 0;
        z-index: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.shore-port-pin {
    position: absolute;
    left: var(--pin-x);
    top: var(--pin-y);
    z-index: 4;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: url("/Design/img/MaximusTravel/checker.png") no-repeat center / contain;
    cursor: pointer;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 16px rgba(0, 29, 48, .32));
    transition: transform .25s ease, filter .25s ease;
    animation: shoreHero 7s ease-in-out infinite;
}

    .shore-port-pin::before {
        content: "";
        position: absolute;
        inset: 1px;
        border: 3px solid rgba(255, 255, 255, .72);
        border-radius: 50%;
        animation: shorePinPulse 1.9s ease-out infinite;
    }

    .shore-port-pin:hover,
    .shore-port-pin.is-active {
        transform: translate(-50%, -50%) scale(1.26);
        filter: drop-shadow(0 14px 20px rgba(0, 29, 48, .38));
    }

        .shore-port-pin.is-active::after {
            content: "";
            position: absolute;
            inset: -2px;
            border: 2px solid rgba(255, 178, 63, .86);
            border-radius: 50%;
        }

.shore-port-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: 300px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #ffffff;
    background: rgba(8, 48, 64, .95);
    box-shadow: 0 12px 28px rgba(0, 25, 45, .22);
    font-family: 'Montserrat-SemiBold';
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .22s ease, transform .22s ease;
}

.shore-port-pin:hover .shore-port-tooltip,
.shore-port-pin.is-active .shore-port-tooltip {
    opacity: 1;
    transform: translate(-50%, 0);
}

.shore-port-panel {
    position: absolute;
    top: 43%;
    right: clamp(20px, 5vw, 78px);
    z-index: 5;
    width: min(435px, calc(100vw - 40px));
    max-height: calc(100vh - 56px);
    overflow: hidden auto;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 28px 90px rgba(0, 30, 56, .28);
    transform: translateY(-50%);
    opacity: 1;
    transition: opacity .25s ease, transform .25s ease;
    backdrop-filter: blur(18px);
    animation: shoreHero 7s ease-in-out infinite;
}

@keyframes shoreHero {
    0%, 100% {
        transform: translateY(-50%);
    }

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

.shore-port-panel:not(.is-ready) {
    opacity: .55;
    transform: translateY(calc(-50% + 10px));
}

.shore-port-photo {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: #d9f3f8;
    border-radius: 22px 22px 0 0;
}

    .shore-port-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

.shore-port-panel:hover .shore-port-photo img {
    transform: scale(1.045);
}

.shore-port-photo span {
    position: absolute;
    left: 22px;
    bottom: 18px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .44);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(8, 48, 64, .72);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.shore-port-content {
    padding: 28px;
}

.shore-port-region {
    display: inline-flex;
    margin-bottom: 10px;
    color: #0c7189;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.shore-port-title {
    margin: 0;
    color: #123f4b;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.16;
}

.shore-port-desc {
    margin: 14px 0 0;
    color: #526f78;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.65;
}

.shore-port-promise {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 13px 14px;
    border-radius: 14px;
    color: #124a56;
    background: linear-gradient(135deg, rgba(32, 168, 200, .13), rgba(255, 178, 63, .16));
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
}

    .shore-port-promise i {
        color: #ff9f2e;
    }

.shore-tour-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.shore-tour-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 13px;
    border: 1px solid rgba(32, 168, 200, .16);
    border-radius: 14px;
    color: #244f5a;
    background: rgba(247, 253, 255, .82);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

    .shore-tour-item:hover {
        transform: translateX(8px);
        border-color: rgba(32, 168, 200, .34);
        background: #ffffff;
    }

    .shore-tour-item i {
        color: #20a8c8;
        margin-top: 4px;
    }

.shore-port-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 24px;
    justify-content: space-between;
}

.shore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 12px;
    border-radius: 999px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

    .shore-btn:hover {
        transform: translateY(-3px);
    }

.shore-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0d6f91, #20a8c8);
    box-shadow: 0 14px 34px rgba(32, 168, 200, .24);
}

    .shore-btn-primary:hover {
        color: #ffffff;
        background: linear-gradient(135deg, #123f4b, #20a8c8);
    }

    .shore-btn-primary i {
        transition: transform .25s ease;
    }

    .shore-btn-primary:hover i {
        transform: translateX(3px);
    }

.shore-btn-outline {
    border: 1px solid rgba(32, 168, 200, .28);
    color: #123f4b;
    background: #ffffff;
}

    .shore-btn-outline:hover {
        color: #0c7189;
        border-color: rgba(32, 168, 200, .48);
    }

@keyframes shorePinPulse {
    0% {
        transform: scale(.6);
        opacity: .9;
    }

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

@media (min-width: 1460px) {
    .shore-map-inner, .shore-map-wrap, .shore-map-visual, .shore-map-image {
        position: relative;
        width: 100%;
        min-height: 1972px;
    }

    .shore-port-panel {
        position: absolute;
        top: 35%;
        right: clamp(20px, 23vw, 360px);
        z-index: 5;
        width: min(435px, calc(100vw - 40px));
        max-height: calc(100vh - 56px);
        overflow: hidden auto;
        border: 1px solid rgba(255, 255, 255, .62);
        border-radius: 24px;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 28px 90px rgba(0, 30, 56, .28);
        transform: translateY(-50%);
        opacity: 1;
        transition: opacity .25s ease, transform .25s ease;
        backdrop-filter: blur(18px);
    }
}

@media (max-width: 1199px) {
    .shore-port-panel {
        right: 24px;
        width: min(500px, calc(100vw - 48px));
    }
}

@media (max-width: 1023px) {
    .shore-map-section,
    .shore-map-inner,
    .shore-map-wrap,
    .shore-map-visual,
    .shore-map-image {
        min-height: auto;
    }

    .shore-map-image {
        height: 720px;
    }

    .shore-port-panel {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - 28px);
        max-height: none;
        margin: -120px auto 34px;
        transform: none;
        animation: none;
    }

        .shore-port-panel:not(.is-ready) {
            transform: translateY(10px);
        }
}

@media (max-width: 739px) {
    .shore-map-image {
        height: 495px;
    }

        .shore-map-image > img {
            object-position: 42% center;
        }

    .shore-port-pin {
        width: 18px;
        height: 18px;
    }

    .shore-port-tooltip {
        font-size: 11px;
    }

    .shore-port-panel {
        width: calc(100% - 16px);
        margin-top: -82px;
        border-radius: 20px;
    }

    .shore-port-photo {
        height: 220px;
        border-radius: 19px 19px 0 0;
    }

    .shore-port-content {
        padding: 22px 18px;
    }

    .shore-port-title {
        font-size: 20px;
    }

    .shore-port-desc {
        font-size: 15px;
    }

    .shore-port-actions {
        flex-direction: column;
    }

    .shore-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .shore-port-pin[data-port="halong"] {
        --pin-x: 36% !important;
        --pin-y: 25% !important;
    }

    .shore-port-pin[data-port="chan-may"] {
        --pin-x: 47%;
        --pin-x: 40% !important;
    }

    .shore-port-pin[data-port="tien-sa"] {
        --pin-x: 50%;
        --pin-x: 45% !important;
    }

    .shore-port-pin[data-port="cam-ranh"] {
        --pin-x: 49%;
        --pin-y: 58% !important;
    }

    .shore-port-pin[data-port="phu-my"] {
        --pin-x: 35% !important;
        --pin-y: 64% !important;
    }

    .shore-port-pin[data-port="hiep-phuoc"] {
        --pin-x: 32%;
        --pin-y: 67% !important;
    }

    .shore-port-pin[data-port="sai-gon"] {
        --pin-x: 26% !important;
        --pin-y: 65% !important;
    }

    .shore-port-pin[data-port="phuoc-an"] {
        --pin-x: 31%;
        --pin-y: 61% !important;
    }
}