.dlf-wrapper {
    font-family: "Helvetica Neue", sans-serif;
    margin: 0 auto;
}

.dlf-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.dlf-filter-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ===== Custom Dropdown (glassmorphism) ===== */

.dlf-custom-select {
    position: relative;
    font-family: inherit;
    min-width: 10rem;
}

.dlf-custom-select .dlf-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
    color: #1A1A1A;
    background: transparent;
    backdrop-filter: blur(0.75rem);
    -webkit-backdrop-filter: blur(0.75rem);
    border: 0.1rem solid rgba(10, 8, 8, 0.23);
    border-radius: 0.5rem;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.3s;
    gap: 0.5rem;
}

.dlf-custom-select.open .dlf-select-trigger {
    border: 0.0625rem solid #C7C7C7;
    border-radius: 0.5rem 0.5rem 0 0;
    background: rgba(255, 255, 255, 0.95);
}

.dlf-custom-select .dlf-select-value {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dlf-custom-select .dlf-select-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.dlf-custom-select .dlf-select-arrow svg {
    width: 0.75rem;
    height: 0.5rem;
    display: block;
}

.dlf-custom-select.open .dlf-select-arrow {
    transform: rotate(180deg);
}

.dlf-custom-select .dlf-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(0.75rem);
    -webkit-backdrop-filter: blur(0.75rem);
    border: 0.0625rem solid #C7C7C7;
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 20rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.25rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}

.dlf-custom-select.open .dlf-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dlf-custom-select .dlf-select-option {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #1A1A1A;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.dlf-custom-select .dlf-select-option:hover {
    background-color: #F3F4F6;
}

.dlf-custom-select .dlf-select-option.active {
    color: #C09334;
    font-weight: 500;
}

.dlf-custom-select .dlf-select-options::-webkit-scrollbar {
    width: 0.375rem;
}

.dlf-custom-select .dlf-select-options::-webkit-scrollbar-track {
    background: transparent;
}

.dlf-custom-select .dlf-select-options::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 0.1875rem;
}

.dlf-search-group {
    flex: 1;
    min-width: 12.5rem;
    max-width: 20rem;
}

.dlf-search-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 1rem;
    font-size: 0.9rem;
    background: transparent;
    backdrop-filter: blur(0.75rem);
    -webkit-backdrop-filter: blur(0.75rem);
    border: 0.1rem solid rgba(10, 8, 8, 0.23);
    border-radius: 0.5rem;
    box-sizing: border-box;
    transition: all 0.3s;
}

.dlf-search-wrapper input {
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    padding: 0.6rem 1rem !important;
    font-size: 1rem;
    line-height: 1.5rem;
    outline: none;
    border-radius: 0.5rem;
    height: auto;
}

.dlf-search-wrapper input:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
}

.dlf-search-wrapper:focus-within {
    border-color: #C09334;
}

.dlf-search-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.dlf-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #1A1A1A;
    padding: 0;
    outline: none;
    min-width: 0;
}

.dlf-search-input::placeholder {
    color: #9CA3AF;
}

.dlf-main {
    display: flex;
    gap: 1.5rem;
    height: 37.5rem;
}

.dlf-list {
    width: 26.25rem;
    min-width: 26.25rem;
    overflow-y: auto;
    border: 0.0625rem solid #E5E7EB;
    border-radius: 1rem;
    background: #FFFFFF;
    box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.04);
}

.dlf-list::-webkit-scrollbar {
    width: 0.25rem;
}

.dlf-list::-webkit-scrollbar-track {
    background: transparent;
}

.dlf-list::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 0.125rem;
}

.dlf-list-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #FFFFFF;
    padding: 0.875rem 1.25rem;
    border-bottom: 0.0625rem solid #F3F4F6;
    font-size: 0.82rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dlf-list-header strong {
    color: #1A1A1A;
    font-weight: 600;
}

.dlf-list-inner {
    padding: 0;
}

.dlf-list-empty {
    padding: 2rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.95rem;
}

.dlf-card {
    padding: 0.875rem 1rem;
    border-bottom: 0.0625rem solid #F3F4F6;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.dlf-card:last-child {
    border-bottom: none;
}

.dlf-card:hover {
    background-color: #FEF7ED;
}

.dlf-card.active {
    background-color: #FEF7ED;
    border-left: 0.25rem solid #C09334;
    box-shadow: inset 0 0 0 0.0625rem rgba(192, 147, 52, 0.12);
}

.dlf-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dlf-card-top {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.dlf-card-main {
    flex: 1;
    min-width: 0;
}

.dlf-card-category {
    font-size: 0.75rem;
    color: #c09334;
    margin: 0.05rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.3rem;
    line-height: normal;
    font-weight: 400;
}



.dlf-card-title {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: #1A1A1A;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.dlf-card-location {
    font-size: 0.8rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    line-height: normal;
    margin-top: 0.3rem;
    font-weight: 400;
}

.dlf-card-location svg {
    flex-shrink: 0;
    margin-top: -0.2rem;
    stroke: #c09334;
}

.dlf-icon-pin {
    width: 0.75rem;
    height: 0.75rem;
}

.dlf-icon-phone {
    width: 0.8125rem;
    height: 0.8125rem;
    margin-top: -0.2rem;
    stroke: #c09334;
}

.dlf-icon-dir-arrow {
    width: 0.875rem;
    height: 0.875rem;
}

.dlf-card-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6B7280;
    flex-wrap: wrap;
    line-height: normal;
    margin-top: 0.3rem;
}

.dlf-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
}

.dlf-card-rating-text {
    color: #F4B400;
    font-weight: 600;
}

.dlf-card-reviews {
    color: #9CA3AF;
    font-size: 0.78rem;
}

.dlf-card-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #6B7280 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.dlf-card-phone-link:hover {
    color: #C09334;
    text-decoration: underline;
}

.dlf-card-status {
    font-size: 0.78rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dlf-status-dot {
    display: inline-block;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.dlf-dot-open {
    background: #188038;
    box-shadow: 0 0 0 0.125rem rgba(24, 128, 56, 0.15);
}

.dlf-dot-closed {
    background: #D93025;
    box-shadow: 0 0 0 0.125rem rgba(217, 48, 37, 0.15);
}

.dlf-status-open {
    color: #188038;
    font-weight: 600;
}

.dlf-status-closed {
    color: #D93025;
    font-weight: 600;
}

.dlf-card-status-tile {
    flex-shrink: 0;
    width: 4.25rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.dlf-card-status-tile.tile-open {
    background: #E6F4EA;
    border: 0.0625rem solid #188038;
}

.dlf-card-status-tile.tile-closed {
    background: #FCE8E6;
    border: 0.0625rem solid #D93025;
}

.dlf-card-status-tile .dlf-status-dot {
    width: 0.4375rem;
    height: 0.4375rem;
}

.dlf-status-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03rem;
    line-height: normal;
    margin-top: 0.3rem;
    margin-bottom: 0.2rem;
}

.dlf-status-label.label-open {
    color: #188038;
}

.dlf-status-label.label-closed {
    color: #D93025;
}

.dlf-status-time {
    font-size: 0.6rem;
    color: #4B5563;
    line-height: 1.2;
}

.dlf-map-container {
    flex: 1;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 0.0625rem solid #E5E7EB;
}

#dlf-map {
    width: 100%;
    height: 100%;
}

.gm-style .gm-style-iw-c {
    border-radius: 0.75rem !important;
    padding: 0 !important;
    max-width: 20rem !important;
    max-height: none !important;
}

.gm-style .gm-style-iw-t::after {
    display: none !important;
}

.gm-style .gm-style-iw-d {
    padding: 0 !important;
    overflow: visible !important;
    max-height: none !important;
}

.gm-style-iw-chr {
    position: absolute;
    z-index: 1;
    right: 0;
}

.gm-ui-hover-effect {
    width: 1.5rem !important;
    height: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    padding: 0.2rem !important;
    background: #ffffff40 !important;
    backdrop-filter: blur(4px);
    top: 0.3rem !important;
    right: 0.3rem !important;
}

.gm-ui-hover-effect span {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.dlf-info-window {
    width: 18.75rem;
    font-family: "Helvetica Neue", sans-serif;
}

.dlf-info-image {
    position: relative;
    width: 100%;
    height: 8.75rem;
    overflow: hidden;
}

.dlf-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dlf-photo-badge {
    position: absolute;
    bottom: 0.375rem;
    right: 0.375rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    letter-spacing: 0.01875rem;
}

.dlf-info-body {
    padding: 0.75rem 1rem 1rem;
}

.dlf-info-banner-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.35rem 0;
    font-size: 0.78rem;
    font-weight: 600;
    border-bottom: 1px solid #F3F4F6;
}

.dlf-info-banner-status.status-open {
    background: #E6F4EA;
    color: #188038;
}

.dlf-info-banner-status.status-closed {
    background: #FCE8E6;
    color: #D93025;
}

@keyframes dlf-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.dlf-review-summary {
    margin: 0.5rem 0 0;
    border-top: 0.0625rem solid #F3F4F6;
    padding-top: 0.5rem;
}

.dlf-review-summary-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin-bottom: 0.3rem;
}

.dlf-review-summary-text {
    font-size: 0.78rem;
    color: #4B5563;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

.dlf-card-direction-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.45rem 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: #fff;
    background: #C09334;
    border: none;
    border-radius: 0.375rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, gap 0.2s ease;
    margin-top: 0.25rem;
}

.dlf-card-direction-btn:hover {
    background: #A67A2A;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
}

.dlf-card-gallery-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.45rem 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: #C09334;
    background: transparent;
    border: 1px solid #C09334;
    border-radius: 0.375rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: 0.25rem;
    box-sizing: border-box;
}

.dlf-card-gallery-btn:hover {
    background: #C09334;
    color: #fff;
    text-decoration: none;
}

.dlf-card-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.45rem 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    color: #C09334;
    background: transparent;
    border: 1px solid #C09334;
    border-radius: 0.375rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: 0.25rem;
    box-sizing: border-box;
}

.dlf-card-menu-btn:hover {
    background: #C09334;
    color: #fff;
    text-decoration: none;
}

.dlf-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.dlf-card-actions .dlf-card-direction-btn {
    grid-column: 1 / -1;
}

.dlf-card-actions .dlf-card-direction-btn,
.dlf-card-actions .dlf-card-gallery-btn,
.dlf-card-actions .dlf-card-menu-btn {
    margin-top: 0;
    min-width: 0;
}

.dlf-card-actions:not(:has(.dlf-card-menu-btn)) .dlf-card-gallery-btn,
.dlf-card-actions:not(:has(.dlf-card-gallery-btn)) .dlf-card-menu-btn {
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    #dlf-map {
        width: 100%;
        height: 40rem;
    }

    .dlf-main {
        flex-direction: column;
        height: auto;
    }

    .dlf-list {
        width: 100%;
        min-width: unset;
        max-height: 20rem;
    }

    .dlf-card-status-tile {
        width: 3.625rem;
        padding: 0.3rem 0.35rem;
    }

    .dlf-card-status-tile .dlf-status-dot {
        width: 0.375rem;
        height: 0.375rem;
    }

    .dlf-status-label {
        font-size: 0.65rem;
    }

    .dlf-status-time {
        font-size: 0.55rem;
    }

    .dlf-map-container {
        height: 25rem;
    }
}

@media (max-width: 768px) {
    .dlf-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .dlf-filter-group {
        flex-direction: column;
    }

    .dlf-custom-select {
        width: 100%;
        min-width: unset;
    }

    .dlf-search-group {
        max-width: unset;
    }
}

.dlf-live-badge {
    color: #188038;
    font-size: 0.7rem;
    vertical-align: middle;
    margin-right: 0.15rem;
}

.dlf-phone-link {
    color: #1A73E8;
    text-decoration: none;
    font-weight: 500;
}

.dlf-phone-link:hover {
    text-decoration: underline;
}
