.wlf-dokan-icon-title-wrapper {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 8px;
    color: #111;
    font-size: 16px;
    border: 1px solid #ebebeb;
    background-color: #fff;
}

.wlf-title-description {
    color: #888;
    font-style: italic;
    font-size: 12px;
}

.wlf-dokan-select-locations {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ebebeb;
    border-top: 0;
    padding: 10px;
    list-style-type: none;
    background-color: #fff;
}

.wlf-location-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.wlf-location-popup-content {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 26rem;
    position: relative;
    font-family: "Inter", sans-serif;
}

.wlf-location-popup-close-btn {
    cursor: pointer;
    position: absolute;
    right: 10px;
    font-size: 28px;
    line-height: 16px;
    top: 12px;
}

.wlf-selected-location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wlf-selected-location-name {
    display: block;
    padding: 10px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.wlf-location-popup-title {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 3px;
}

.wlf-location-popup-description {
    font-size: .7rem;
}

.wlf-search-container {
    margin-top: 1.2rem;
    margin-bottom: .5rem;
    position: relative;
}

.wlf-search-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    fill: #333;
}

#wlf-location-search {
    background-color: #f3f4f7;
    border: none;
    width: 100%;
    padding: 10px 10px 10px 38px;
    border-radius: 5px;
}

.wlf-featured-location-title-clear-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111;
    font-size: 13px;
    font-weight: 500;
}

.wlf-featured-location-title-clear-btn .button {
    border: 1px solid #e2e2ec;
    font-size: .625rem;
    font-weight: 500;
    padding: .1875rem .625rem;
    border-radius: 1.875rem;
    text-transform: capitalize;
    background-color: unset;
    min-height: unset;
}

.wlf-child-top-parent-location-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wlf-child-top-parent-location-indicator-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.wlf-child-top-parent-location-content .wlf-default-clear-location-btn {
    border: 1px solid #e2e2ec;
    font-size: .625rem;
    font-weight: 500;
    padding: .1875rem .625rem;
    border-radius: 1.875rem;
    text-transform: capitalize;
    background-color: unset;
    min-height: unset;
}

/* Featured locations grid layout */
.wlf-featured-locations-container {
    margin-top: 1rem;
}

#wlf-featured-location-list {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}

#wlf-featured-location-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    cursor: pointer;
    padding: .5rem;
    margin: 0;
}

#wlf-featured-location-list li:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.wlf-featured-location-image-container {
    margin-bottom: 3px;
}

.wlf-featured-location-image-container img {
    max-width: 45px;
    height: auto;
}

.wlf-featured-location-indicator-name-container {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.wlf-featured-location-name {
    font-size: 12px;
    color: #111;
    line-height: normal;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wlf-location-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wlf-has-children-indicator {
    line-height: normal;
}

.wlf-selected-location-indicator {
    color: #49ba8e;
    font-size: 8px;
    line-height: normal;
}

.wlf-non-featured-location-title-clear-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: #111;
}

.wlf-non-featured-location-title-clear-btn .button {
    border: 1px solid #e2e2ec;
    font-size: .625rem;
    font-weight: 500;
    padding: .1875rem .625rem;
    border-radius: 1.875rem;
    text-transform: capitalize;
    background-color: unset;
    min-height: unset;
}

#wlf-non-featured-location-list, .wlf-child-location-list, .wlf-location-search-results {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    min-height: 15rem;
    max-height: 20rem;
}

#wlf-non-featured-location-list li, .wlf-child-location-list li, .wlf-location-search-results li {
    cursor: pointer;
    border-top: 1px solid rgba(0,0,0,.07);
    padding: .4rem 0;
    padding-right: 6px;
    margin: 0;
}

#wlf-non-featured-location-list li:last-child, .wlf-child-location-list li:last-child {
    padding-bottom: 0;
}

.wlf-non-featured-location-content, .wlf-child-location-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wlf-non-featured-location-image-name-container, .wlf-child-location-image-name-container, .wlf-search-result-location-name-image-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wlf-non-featured-location-image-container img, .wlf-child-location-image-container img, .wlf-search-result-location-image-container img {
    max-width: 32px;
    height: auto;
}

.wlf-non-featured-location-name, .wlf-child-location-name, .wlf-search-result-location-name {
    font-size: 13px;
    color: #111;
}

/* width */
#wlf-non-featured-location-list::-webkit-scrollbar {
  width: 5px;
}

/* Track */
#wlf-non-featured-location-list::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
#wlf-non-featured-location-list::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 20px;
}

/* Handle on hover */
#wlf-non-featured-location-list::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.wlf-header-location-message {
    text-align: center;
    padding: 10px;
}

.wlf-location-single-page-container {
    margin-bottom: 10px;
    margin-top: 10px;
    cursor: pointer;
}

.wlf-location-single-page {
    width: fit-content;
}

.wlf-location-icon {
    margin-right: 5px;
    font-size: 18px;
}

.wlf-delivery-cod-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    border-top: 1px solid #eee;
    width: fit-content;
    padding-top: 3px;
}

.wlf-separator {
    margin-right: 5px;
}

#wlf-location-cod-status {
    font-weight: 600;
}

.wlf-cod-available {
    color: #388e3c;
}

.wlf-cod-not-available {
    color: #878787;
}

.wlf-location-single-page #wlf-selected-location {
    font-weight: bold;
    color: #111;
    margin-bottom: 5px;
}

.wfl-in-stock-icon {
    color: green;
    margin-right: 5px;
}

.wfl-out-of-stock-icon {
    color: red;
    margin-right: 5px;
}

.wlf-location-in-stock-info,
.wlf-location-out-of-stock-info {
    color: #111;
    font-weight: 600;
    line-height: 1.2;
}

@media (min-width: 769px) {
    
    .wlf-selected-location-name {
        display: none;
    }
    
    .wlf-featured-location-title-clear-btn {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .wlf-location-popup-content {
        width: 100%;
        padding: 0;
        border-radius: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .wlf-search-container {
        padding: 10px;
        margin: 0;
        background-color: #f5f5f5;
    }
    
    .wlf-location-popup-title-description {
        display: none;
    }
    
    #wlf-location-search {
        background-color: #fff;
        border: 1px solid #ccc;
    }
    
    .wlf-search-icon {
        left: 21px;
    }
    
    .wlf-featured-locations-container {
        margin-top: 0;
    }
    
    #wlf-non-featured-location-list::-webkit-scrollbar {
      display: none;
    }
    
    #wlf-featured-location-list li {
        border-bottom: 1px solid #f5f5f5;
        border-right: 1px solid #f5f5f5;
    }
    
    .wlf-featured-location-image-container img {
        max-width: 40px;
    }

    .wlf-featured-location-title-clear-btn,
    .wlf-non-featured-location-title-clear-btn {
        padding: 8px 10px;
        background-color: #f5f5f5;
        font-size: 11px;
    }
    
    .wlf-all-featured-locations-title,
    .wlf-all-non-featured-locations-title {
        color: #666;
        text-transform: uppercase;
    }
    
    .wlf-featured-location-title-clear-btn .button,
    .wlf-non-featured-location-title-clear-btn .button {
        background-color: #fff;
    }
    
    #wlf-non-featured-location-list li, .wlf-child-location-list li, .wlf-location-search-results li {
        padding: .5rem;
    }
    
    #wlf-non-featured-location-list li:first-child {
        border: none;
    }
    
    .wlf-featured-location-name {
        font-size: 11px;
    }
}