body {
    background: #fff9f2;
    color: #1a1a1a;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.navbar {
    background: rgba(255, 249, 242, 0.96);
    border-bottom: 1px solid rgba(26, 26, 26, 0.12);
    box-shadow: 0 8px 26px rgba(26, 26, 26, 0.06);
    backdrop-filter: blur(14px);
}

.nav-container {
    min-height: 78px;
}

.navbar .brand-logo {
    gap: 12px;
}

.navbar .logo-mark {
    width: 49px;
    height: 49px;
    border: 0;
    border-radius: 14px;
    background: #F58016;
    box-shadow: 4px 4px 0 #1a1a1a;
}

.navbar .brand-logo .logo-name {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.navbar .brand-logo .logo-tagline {
    color: #F04F21;
}

.nav-links {
    gap: 4px;
}

.nav-links > a:not(.btn-nav) {
    min-height: 40px;
    padding-inline: 10px;
    border-radius: 4px;
    font-size: 11px;
}

.nav-links > a:not(.btn-nav):hover {
    border-color: transparent;
    background: rgba(245, 128, 22, 0.32);
}

.nav-links .btn-nav {
    min-height: 42px;
    padding-inline: 15px;
    border: 0;
    border-radius: 5px;
    background: #F04F21;
    box-shadow: 4px 4px 0 #1a1a1a;
    color: #fff9f2;
}

.mobile-menu-btn {
    border: 0;
    border-radius: 11px;
    background: #F58016;
    box-shadow: 3px 3px 0 #1a1a1a;
}

.mobile-nav {
    background: #fff9f2;
    border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.mobile-nav a {
    min-height: 45px;
    border: 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    border-radius: 0;
    background: transparent;
}

.mobile-nav .btn-nav-mobile {
    border: 0;
    border-radius: 5px;
    background: #F04F21;
    box-shadow: none;
}

.outlet-directory-section {
    min-height: calc(100vh - 78px);
    padding: clamp(42px, 6vw, 78px) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%, rgba(245, 128, 22, 0.17), transparent 22%),
        #f4efe5;
}

.outlet-directory-section > .container {
    width: min(100% - 56px, 1440px);
    max-width: 1440px;
}

.outlet-directory-heading {
    position: relative;
    margin-bottom: 34px;
    text-align: left;
}

.outlet-directory-heading::after {
    position: absolute;
    top: -25px;
    right: 3%;
    width: clamp(80px, 10vw, 140px);
    aspect-ratio: 1;
    background: url('/images/selaluteh/daun teh.png') center / contain no-repeat;
    content: '';
    opacity: 0.75;
    transform: rotate(20deg);
}

.outlet-directory-heading .minimal-badge {
    padding: 8px 12px;
    border: 0;
    border-radius: 99px;
    background: #F58016;
    box-shadow: none;
    font-size: 9px;
    letter-spacing: 0.12em;
}

.outlet-directory-heading h2 {
    position: relative;
    z-index: 1;
    margin: 12px 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(46px, 7vw, 88px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.95;
    text-transform: uppercase;
}

.outlet-directory-heading p {
    max-width: 620px;
    margin: 0;
    color: #716a60;
    font-size: 13px;
    line-height: 1.8;
}

.directory-container {
    min-height: 650px;
    grid-template-columns: minmax(290px, 0.9fr) minmax(0, 2.2fr);
    gap: 18px;
    align-items: stretch;
    height: 650px;
}

.outlet-sidebar,
.map-wrapper,
.showcase-panel {
    min-width: 0;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 18px 42px rgba(26, 26, 26, 0.1);
}

.outlet-sidebar,
.showcase-panel {
    background: #fffdf8;
}

.outlet-sidebar {
    min-height: 650px;
}

.sidebar-header {
    padding: 19px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.11);
    background: #fffdf8;
}

.directory-header-row {
    gap: 10px;
}

.directory-title {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 800;
}

.directory-title i {
    color: #F04F21;
}

.directory-status {
    border: 0;
    border-radius: 99px;
    background: #e9f1dc;
    color: #416425;
    font-size: 9px;
}

.search-box {
    margin-top: 15px;
}

.search-box input {
    min-height: 46px;
    padding-right: 12px;
    border: 1px solid rgba(26, 26, 26, 0.18);
    border-radius: 4px;
    background: #fff9f2;
    box-shadow: none;
    color: #1a1a1a;
    font-size: 11px;
}

.search-box input:focus {
    border-color: #F04F21;
    box-shadow: 0 0 0 3px rgba(240, 79, 33, 0.12);
}

.search-box input::placeholder {
    color: #8d877f;
}

.search-box i {
    color: #716a60;
}

.outlet-list {
    min-height: 0;
    padding: 13px;
    overscroll-behavior: contain;
    scrollbar-color: #d3cbbb transparent;
    scrollbar-width: thin;
}

#outletList .outlet-item {
    padding: 15px;
    margin-bottom: 11px;
    border: 1px solid rgba(26, 26, 26, 0.11);
    border-radius: 4px;
    background: #fffdf8;
    box-shadow: none;
}

#outletList .outlet-item:hover,
#outletList .outlet-item.active {
    border-color: #F04F21;
    background: #fff4ea;
    box-shadow: 0 8px 18px rgba(240, 79, 33, 0.1);
    transform: translateY(-2px);
}

#outletList .outlet-item strong,
#outletList .outlet-item h3,
#outletList .outlet-item h4 {
    color: #1a1a1a !important;
    font-size: 12px;
    line-height: 1.5;
}

#outletList .outlet-item p,
#outletList .outlet-item small,
#outletList .outlet-item .address {
    color: #716a60 !important;
    font-size: 10px;
    line-height: 1.6;
}

#outletList .outlet-item a[href*='maps.google.com'] {
    min-height: 34px;
    min-width: 56px;
    padding: 7px 12px;
    border: 0;
    border-radius: 4px;
    background: #F04F21;
    box-shadow: none;
    font-size: 10px;
}

#outletList .outlet-item a[href*='maps.google.com']:hover {
    background: #D4380D;
    transform: translateY(-1px);
}

.map-wrapper {
    min-height: 650px;
    border-radius: 6px;
    background: #e8e4da;
    box-shadow: 0 18px 42px rgba(26, 26, 26, 0.14);
}

#leaflet-map {
    min-height: 650px;
    height: 100%;
}

.my-location-button {
    top: 16px;
    right: 16px;
    min-height: 43px;
    padding: 10px 14px;
    border: 0;
    border-radius: 4px;
    background: #fffdf8;
    box-shadow: 0 6px 18px rgba(26, 26, 26, 0.18);
    font-size: 11px;
    font-weight: 800;
}

.my-location-button i {
    color: #F04F21;
}

.showcase-panel {
    height: 650px;
    overflow: hidden;
    min-height: 650px;
    background: #F58016;
}

.showcase-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    height: 100%;
    padding: 10px;
    overflow-y: auto;
    animation: none;
}

.showcase-list img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.05 / 1;
    border: 0;
    border-radius: 3px;
    object-fit: cover;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(240, 79, 33, 0.22) !important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    border: 2px solid #fff9f2;
    background-color: #F04F21 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #fffdf8;
}

.leaflet-popup-content-wrapper {
    border-radius: 5px;
}

footer:not(.selaluteh-footer) {
    padding: 20px max(28px, calc((100% - 1440px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #1b1d18;
    color: #fff9f2;
    font-size: 10px;
}

footer:not(.selaluteh-footer) > span:first-child {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 19px;
}

footer:not(.selaluteh-footer) .qr-page-link {
    color: #F58016;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .directory-container {
        height: auto;
        min-height: 0;
        grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.5fr);
        gap: 16px;
    }

    .outlet-sidebar,
    .map-wrapper,
    #leaflet-map {
        min-height: 590px;
    }

    .showcase-panel {
        grid-column: 1 / -1;
        height: 300px;
        min-height: 0;
    }

    .showcase-list {
        grid-template-columns: repeat(6, minmax(130px, 1fr));
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .showcase-list img {
        height: 130px;
        aspect-ratio: auto;
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
    .outlet-directory-section {
        padding-block: 36px;
    }

    .outlet-directory-section > .container {
        width: calc(100% - 32px);
    }

    .outlet-directory-heading {
        margin-bottom: 25px;
    }

    .outlet-directory-heading::after {
        top: 0;
        right: 0;
        width: 68px;
    }

    .outlet-directory-heading h2 {
        max-width: 80%;
        font-size: clamp(42px, 12vw, 63px);
    }

    .outlet-directory-heading p {
        max-width: 86%;
        font-size: 11px;
    }

    .directory-container {
        height: auto;
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .outlet-sidebar {
        height: 350px;
        min-height: 0;
    }

    .sidebar-header {
        padding: 15px;
    }

    .outlet-list {
        padding: 10px;
    }

    .map-wrapper {
        height: 58svh;
        min-height: 390px;
    }

    #leaflet-map {
        min-height: 390px;
    }

    .my-location-button {
        top: 10px;
        right: 10px;
        min-height: 40px;
        padding: 9px 11px;
        font-size: 10px;
    }

    .showcase-panel {
        height: 150px;
        min-height: 0;
    }

    .showcase-list {
        grid-auto-columns: 148px;
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-template-rows: minmax(0, 1fr);
        gap: 9px;
        padding: 9px;
    }

    .showcase-list img {
        height: 112px;
    }

    footer:not(.selaluteh-footer) {
        padding: 18px 16px;
        flex-wrap: wrap;
        font-size: 9px;
    }
}

@media (max-width: 380px) {
    .outlet-directory-heading h2 {
        font-size: 40px;
    }

    .directory-status {
        font-size: 8px;
    }
}

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

    .showcase-list,
    .outlet-item,
    .navbar .logo-mark,
    .nav-links a,
    .my-location-button {
        animation: none !important;
        transition: none !important;
    }
}
