.shop-hero {
    background: linear-gradient(237deg, var(--Semantic-colours-Pink-10, #FFE7EB) 25.18%, var(--Semantic-colours-Purple-10, #ECE8FF) 50.67%);
    min-height: 400px;
    /* display: flex; */
    width: 100% !important;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2em;
    font-weight: bold;
    padding: 80px;
}

.search-content {
    padding: 0px 80px !important;
}

.search-hero {
    background: linear-gradient(178deg, rgba(236, 232, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
    min-height: 330px;
    /* display: flex; */
    width: 100% !important;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2em;
    font-weight: bold;
    padding: 80px 0px 0px 80px;
}

.verified-partners {
    width: 90%;
    max-width: 400px;
    text-align: center;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 20px;
    font-weight: 100;
}

.verified-partners span {
    margin-left: 7px;
}

.shop-hero img {
    max-width: 450px;
    width: 100%;
    height: auto;
}

.shop-container {
    padding: 60px 80px;
    padding-bottom: 0px;

}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    padding: 10px 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .08);
    gap: 16px;
    max-width: 1000px;
}

.search-field {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;

}

.search-field i {
    color: #7C3AED;
    margin-right: 12px;
    font-size: 16px;
}

.search-field input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
}

.search-field input::placeholder {
    color: #B5B5B5;
}

.divider {
    width: 1px;
    height: 40px;
    background: #E6E6E6;
}

.btn-search {
    min-width: 120px;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    background: #7C3AED;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

.btn-search:hover {
    opacity: .9;
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 20px 20px;
        font-size: 1.5em;
    }

    .shop-container {
        padding: 60px 20px;
    }
}

.shop-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.shop-card {
    flex: 0 0 auto;
    width: 25%;
    max-width: 380px;
    min-width: 310px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.shop-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.shops-title {
    font-size: 18px;
    font-weight: 600;
}

.shops-tagline {
    font-size: 12px;
    color: #7C3AED;
}

.shops-price {
    font-size: 20px;
    font-weight: 700;
    color: #7C3AED;
}

.shops-description {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.shops-link {
    color: black;
    text-decoration: underline;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

.shops-link:hover {
    text-decoration: none;
}

.shops-labels {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.shops-label {
    background-color: #F0F0F0;
    color: #606060;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

.category-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
    margin-top: 20px;
    height: 165px;
}

.emergency-card {
    background: #FFE7EB;
    border: 0px;
    border-radius: 20px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
    margin-top: 20px;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}



.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    margin-top: 25px !important;
    scrollbar-width: thin;
    scrollbar-color: #c4a2ff #e0e0e0;
    z-index: 1000;
    padding: 10px 0;
}

.search-dropdown.active {
    display: block;
}

.dropdown-header {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    padding: 8px 16px;
    font-weight: 600;
}

.dropdown-suggest-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.dropdown-suggest-item:hover {
    background-color: #f8fafc;
}

.item-icon {
    width: 40px;
    height: 40px;
    background-color: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
    /* Jika pakai emoji */
}

.item-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.item-info {
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.item-subtitle {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.loading-state,
.empty-state {
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* --- ADDRESS DROPDOWN STYLING (RIGHT) --- */
.addressDropdown {
    width: 650px;
    display: none;
    /* jQuery toggles this */
    flex-direction: row;
}

.address-container {
    display: flex;
    width: 100%;
    max-height: 450px;
}

/* Left Sidebar (Region) */
.region-sidebar {
    width: 35%;
    border-right: 1px solid #f1f5f9;
    padding: 15px 0;
    background: #fafafa;
}

.region-item {
    padding: 14px 20px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    margin: 4px 10px;
    border-radius: 8px;
}

.region-item:hover {
    background: #f1f5f9;
}

.region-item.active {
    background-color: #8b5cf6;
    color: white;
    font-weight: 500;
}

/* Right Content (Districts) */
.district-content {
    width: 65%;
    padding: 20px 25px;
    overflow-y: auto;
    background: white;
    scrollbar-width: thin;
    scrollbar-color: #c4a2ff #e0e0e0;
}

.select-all-btn {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 20px;
}

.select-all-btn:hover {
    text-decoration: underline;
}

.district-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    cursor: pointer;
}

.district-item input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 15px;
    width: 18px;
    height: 18px;
    accent-color: #8b5cf6;
    cursor: pointer;
}

.district-info {
    display: flex;
    flex-direction: column;
}

.district-name {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}

.district-areas {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

.avatar-square {
    width: 50px;
    height: 50px;
    background-color: #f1f5f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding: 12px
}

.bg-pw-soft-primary {
    background-color: #ECE8FF;
}

.bg-pw-soft-danger {
    background-color: #FFA5B6;
}

.webOnly {
    display: block;
}

.mobileOnly {
    display: none;
}


@media (max-width: 768px) {
    .webOnly {
        display: none;
    }

    .mobileOnly {
        display: block;
    }

    .search-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .search-hero,
    .search-content,
    .shop-hero,
    .shop-container {
        padding: 40px 20px !important;
        font-size: 1.5em;
    }

    .search-content {
        padding-top: 0px !important;
    }

    .search-hero {
        padding-bottom: 0px !important;
    }

    .divider {
        width: 50%;
        height: 1px;
        background: #E6E6E6;
    }

    .search-field {
        width: 100%;
    }

    .btn-search {
        width: 100%;
    }

    .pw-link {
        font-size: 12px;
    }

    .shop-header h2 {
        font-size: 18px;
    }

    .shop-header p {
        font-size: 12px;
    }

    .shop-list {
        width: 100%;
    }

    /* --- ADDRESS DROPDOWN STYLING (RIGHT) --- */
    .addressDropdown {
        width: 500px;
        transform: scale(0.65);
        transform-origin: top left;
    }

}