    /* ── Wrapper ── */
    .sam-map-wrap {
        position: relative;
        display: flex;
        gap: 40px;
        align-items: center;   /* panel kanan center vertikal terhadap peta */
        width: 100%;
        box-sizing: border-box;
    }

    /* ── Map Side ── */
    .sam-map-outer {
        position: relative;
        width: 55%;
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 8px;
    }

    .sam-map-inner {
        position: relative;
        width: 100%;
        transform: translate(0, 0) scale(1);
        transform-origin: 0 0;
        transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    .sam-map-inner img {
        width: 100%;
        height: auto;
        display: block;
        pointer-events: none;
        user-select: none;
    }

    /* ── Pins Container ── */
    .sam-pins {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .sam-pin {
        position: absolute;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        border: 2px solid rgba(255,255,255,0.6);
        cursor: pointer;
        pointer-events: all;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        z-index: 5;
    }
    .sam-pin::after {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 1.5px solid currentColor;
        opacity: 0;
        transition: opacity 0.3s;
    }
    .sam-pin:hover,
    .sam-pin.is-active {
        transform: translate(-50%, -50%) scale(1.5);
        box-shadow: 0 0 0 5px rgba(255,255,255,0.18);
    }
    .sam-pin.is-active::after {
        opacity: 0.5;
    }

    /* ── Info Panel ── */
    .sam-info-panel {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding-top: 0.25rem;
    }

    /* ── Info Text ── */
    .sam-eyebrow {
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.4em;
        line-height: 1.1;
        text-transform: uppercase;
        color: #C9100B;
        margin: 0 0 16px 0;
    }
    .sam-heading {
        font-family: 'Montserrat', sans-serif;
        font-size: clamp(32px, 3.89vw, 56px);
        font-weight: 400;
        letter-spacing: -0.02em;
        line-height: 1.15;
        color: #ffffff;
        margin: 0 0 20px 0;
        padding: 0;
    }
    .sam-desc {
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.005em;
        line-height: 1.4;
        color: rgba(255,255,255,0.65);
        margin: 0 0 28px 0;
        padding: 0;
        max-width: 480px;
    }

    /* ── Legend ── */
    .sam-legend {
        pointer-events: none;
        margin: 0 0 8px 0;
    }
    .sam-legend-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 14px;
    }
    .sam-legend-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .sam-legend-item {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: default;
    }
    .sam-legend-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        flex-shrink: 0;
    }
    .sam-legend-label {
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 500;
        color: rgba(255,255,255,0.85);
        line-height: 1.4;
    }

    /* ── Tooltip Card (overlay di atas peta, pojok kiri-bawah) ── */
    .sam-tooltip {
        position: absolute;
        left: 24px;
        bottom: 24px;
        z-index: 15;
        width: 340px;
        max-width: calc(55% - 48px);
        background: #fff;
        border-radius: 10px;
        padding: 16px 18px;
        display: none;
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
    }
    .sam-tooltip.is-visible {
        display: block;
        animation: samFadeIn 0.25s ease;
    }
    @keyframes samFadeIn {
        from { opacity: 0; transform: translateY(6px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .sam-tt-type {
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: 5px;
    }
    .sam-tt-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #12153d;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    .sam-tt-desc {
        font-family: 'Montserrat', sans-serif;
        font-size: 13px;
        color: #555;
        line-height: 1.6;
    }
    .sam-tt-desc p {
        margin: 0 0 8px 0;
    }
    .sam-tt-desc p:last-child {
        margin-bottom: 0;
    }
    .sam-tt-desc ul,
    .sam-tt-desc ol {
        margin: 6px 0 0 0;
        padding-left: 18px;
    }
    .sam-tt-desc li {
        margin-bottom: 5px;
    }
    .sam-tt-desc li:last-child {
        margin-bottom: 0;
    }
    .sam-tt-desc strong,
    .sam-tt-desc b {
        color: #12153d;
    }
    .sam-tt-desc a {
        color: #C9100B;
        text-decoration: underline;
    }

    .sam-reset-btn {
        display: inline-block;
        margin-top: 12px;
        font-size: 12px;
        color: #888;
        background: none;
        border: 1px solid #ddd;
        padding: 5px 14px;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.2s;
        line-height: 1.5;
    }
    .sam-reset-btn:hover {
        background: #f0f0f0;
        color: #333;
        border-color: #bbb;
    }

    /* ── Hint ── */
    .sam-hint {
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        color: rgba(255,255,255,0.3);
        margin-top: 1rem;
    }

    /* ── Responsive: Tablet + Mobile (column) ── */
    @media (max-width: 768px) {
        .sam-map-wrap {
            flex-direction: column;
            align-items: stretch;   /* mobile: full-width, jangan center */
            gap: 1.5rem;
        }
        .sam-map-outer {
            width: 100%;
        }
    }

    /* ── Mobile only: reorder urutan elemen ── */
    @media (max-width: 600px) {
        .sam-map-wrap {
            gap: 0;
        }
        .sam-info-panel {
            display: contents;
        }
        .sam-eyebrow   { order: 1; }
        .sam-heading   { order: 2; }
        .sam-desc      { order: 3; }
        .sam-map-outer { order: 4; margin-bottom: 24px; }
        .sam-tooltip   { order: 5; }
        .sam-hint      { order: 5; }
        .sam-legend    { order: 6; margin-top: 24px; margin-bottom: 0; }
    }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .sam-map-inner,
  .sam-pin { transition: none !important; }
}

/* ── Hover/focus preview (kategori + judul) ── */
.sam-hovertip {
    position: absolute;
    z-index: 20;
    pointer-events: none;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, calc(-100% - 12px)) scale(0.96);
    transform-origin: bottom center;
    opacity: 0;
    transition: opacity 0.16s ease, transform 0.16s ease;
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: max-content;
    max-width: 340px;
}
.sam-hovertip.is-visible {
    opacity: 1;
    transform: translate(-50%, calc(-100% - 12px)) scale(1);
}
.sam-hovertip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #ffffff;
}
.sam-ht-cat {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.sam-ht-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sam-ht-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #12153d;
    /* maksimal 2 baris, sisanya ellipsis */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* ── Pin idle pulse (biar pin keliatan bisa diklik) ── */
.sam-pin::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 currentColor;
    animation: samPinPulse 2.6s ease-out infinite;
}
@keyframes samPinPulse {
    0%        { box-shadow: 0 0 0 0 currentColor; opacity: 0.55; }
    70%, 100% { box-shadow: 0 0 0 11px currentColor; opacity: 0; }
}
.sam-pin:hover::before,
.sam-pin.is-active::before { animation: none; box-shadow: none; }

/* ── Edge feather saat aktif/zoom: OVAL halus, berpusat di pin aktif ──
   (--sam-fx/--sam-fy di-set JS = titik fokus pin, jadi area pin tetap tajam,
    tepi yg overflow nge-fade lembut). */
.sam-map-wrap.is-zoomed .sam-map-outer {
    -webkit-mask-image: radial-gradient(ellipse 78% 80% at var(--sam-fx, 50%) var(--sam-fy, 50%), #000 46%, rgba(0,0,0,0) 100%);
            mask-image: radial-gradient(ellipse 78% 80% at var(--sam-fx, 50%) var(--sam-fy, 50%), #000 46%, rgba(0,0,0,0) 100%);
}

/* ── Kartu detail adaptif: kalau pin di bawah, kartu pindah ke atas ── */
.sam-map-wrap.tip-top .sam-tooltip {
    top: 100px; /* sedikit turun dari tepi atas (24px → 80px → 100px) */
    bottom: auto;
}

/* ── Mobile: detail card kembali statis di bawah peta ── */
@media (max-width: 768px) {
    .sam-tooltip {
        position: static;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        margin-top: 1rem;
    }
}
@media (max-width: 600px) {
    .sam-tooltip { order: 5; }
}

@media (prefers-reduced-motion: reduce) {
    .sam-pin::before { animation: none; }
}

/* ── Footer kartu: nav prev/next lokasi + reset ── */
.sam-tt-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}
.sam-tt-foot .sam-reset-btn { margin-top: 0; }
.sam-tt-nav { display: flex; gap: 8px; }
.sam-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #12153d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.sam-nav-btn svg { width: 16px; height: 16px; display: block; }
.sam-nav-btn:hover { background: #12153d; border-color: #12153d; color: #fff; }
.sam-nav-btn:active { transform: scale(0.92); }

/* (Layout split 50/50 ala Merabooks dibatalkan — kembali ke 55/45 contained.
   Lihat .sam-map-wrap / .sam-map-outer / .sam-info-panel di atas.) */
