body.st-motion-ready [data-st-reveal] {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition:
        opacity 560ms cubic-bezier(0.2, 0.65, 0.3, 1),
        transform 560ms cubic-bezier(0.2, 0.65, 0.3, 1);
    will-change: opacity, transform;
}

body.st-motion-ready [data-st-reveal].st-is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.outlet-directory-heading {
    transition: color 220ms ease;
}

.outlet-sidebar,
.map-wrapper,
.showcase-panel {
    transition:
        box-shadow 240ms ease,
        transform 240ms ease;
}

.outlet-item {
    animation: selaluTeaOutletIn 420ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
    animation-delay: calc(var(--outlet-index, 0) * 28ms);
}

.outlet-item.active {
    box-shadow: 6px 6px 0 #F04F21;
}

.outlet-item:focus-visible,
.outlet-item a:focus-visible,
.my-location-button:focus-visible,
.mobile-menu-btn:focus-visible,
.nav-links a:focus-visible,
.mobile-nav a:focus-visible {
    outline: 3px solid #F04F21;
    outline-offset: 3px;
}

@keyframes selaluTeaOutletIn {
    from {
        opacity: 0;
        transform: translate3d(0, 9px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.custom-pin .selalu-marker-face {
    position: relative;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
    transform-origin: center bottom;
}

@media (hover: hover) {
    .custom-pin:hover .selalu-marker-face {
        transform: scale(1.12);
        box-shadow: 0 6px 18px rgba(240, 79, 33, 0.45) !important;
    }
}

.custom-pin.is-active .selalu-marker-face {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(240, 79, 33, 0.2), 0 6px 18px rgba(240, 79, 33, 0.48) !important;
}

.leaflet-marker-icon.custom-pin .selalu-marker-face::after {
    position: absolute;
    z-index: -1;
    inset: -6px;
    border: 1px solid rgba(240, 79, 33, 0.65);
    border-radius: 50%;
    content: '';
    opacity: 0;
    pointer-events: none;
}

.leaflet-marker-icon.custom-pin.is-active .selalu-marker-face::after {
    animation: selaluTeaMarkerPulse 1.8s ease-out infinite;
}

@keyframes selaluTeaMarkerPulse {
    from {
        opacity: 0.8;
        transform: scale(0.75);
    }

    to {
        opacity: 0;
        transform: scale(1.65);
    }
}

.leaflet-popup-content-wrapper {
    animation: selaluTeaPopupIn 220ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

@keyframes selaluTeaPopupIn {
    from {
        opacity: 0;
        transform: translate3d(0, 7px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.leaflet-control-zoom a,
.my-location-button,
.btn-direction,
.mobile-menu-btn,
.mobile-nav a {
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

.leaflet-control-zoom a:active,
.my-location-button:active,
.btn-direction:active,
.mobile-menu-btn:active {
    transform: translate(1px, 1px) scale(0.98);
}

.my-location-button:disabled {
    cursor: wait;
}

.map-wrapper.is-map-loading::after {
    position: absolute;
    z-index: 450;
    bottom: 14px;
    left: 14px;
    padding: 7px 10px;
    border: 1px solid rgba(44, 41, 38, 0.12);
    border-radius: 6px;
    background: rgba(255, 248, 233, 0.94);
    color: #2c2926;
    content: 'Memuat peta…';
    font-size: 0.75rem;
    font-weight: 700;
    pointer-events: none;
    animation: selaluTeaLoadingPulse 1.2s ease-in-out infinite alternate;
}

@keyframes selaluTeaLoadingPulse {
    to {
        opacity: 0.58;
    }
}

.mobile-nav.open {
    display: flex;
    animation: selaluTeaMobileNavIn 220ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

.mobile-nav.open a {
    animation: selaluTeaMobileItemIn 280ms cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

.mobile-nav.open a:nth-child(2) {
    animation-delay: 25ms;
}

.mobile-nav.open a:nth-child(3) {
    animation-delay: 50ms;
}

.mobile-nav.open a:nth-child(4) {
    animation-delay: 75ms;
}

.mobile-nav.open a:nth-child(5) {
    animation-delay: 100ms;
}

.mobile-nav.open a:nth-child(6) {
    animation-delay: 125ms;
}

@keyframes selaluTeaMobileNavIn {
    from {
        opacity: 0;
        transform: translate3d(0, -7px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes selaluTeaMobileItemIn {
    from {
        opacity: 0;
        transform: translate3d(0, -5px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.showcase-list img {
    transition: transform 240ms ease, filter 240ms ease;
}

@media (hover: hover) {
    .showcase-list img:hover {
        transform: scale(1.025);
        filter: saturate(1.08);
    }
}

@media (max-width: 767px) {
    body.st-motion-ready [data-st-reveal] {
        transform: translate3d(0, 10px, 0);
        transition-duration: 420ms;
    }

    .outlet-item {
        animation-duration: 300ms;
        animation-delay: 0ms;
    }

    .custom-pin .selalu-marker-face {
        width: 44px !important;
        height: 44px !important;
    }

    .leaflet-popup-content-wrapper {
        animation-duration: 160ms;
    }

    .map-wrapper.is-map-loading::after {
        bottom: 10px;
        left: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    body.st-motion-ready [data-st-reveal] {
        transform: translate3d(0, 12px, 0);
        transition-duration: 480ms;
    }

    .outlet-item {
        animation-duration: 360ms;
        animation-delay: calc(var(--outlet-index, 0) * 20ms);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    body.st-motion-ready [data-st-reveal],
    body.st-motion-ready [data-st-reveal].st-is-visible {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
        will-change: auto;
    }

    .outlet-item,
    .custom-pin .selalu-marker-face,
    .leaflet-popup-content-wrapper,
    .leaflet-marker-icon.custom-pin.is-active .selalu-marker-face::after,
    .map-wrapper.is-map-loading::after {
        animation: none !important;
        transition: none !important;
    }
}
