.search-popup-wrapper {
    position: relative;
    margin: 0px 0px 30px 0px;
}

.search-bar-container {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.2s ease;
}

.search-bar-container.focused {
    border-bottom: 2px solid #00863f;
}

#custom-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 54px;
    padding: 6px 0;
    font-weight: 600;
    color: #252525 !important;
}

#custom-search-input::placeholder {
    opacity: 60%;
}

#custom-search-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#custom-search-icon svg {
    width: 30px;
    height: 30px;
    fill: #252525;
}



/* popup*/
.search-popup {
    position: absolute;
    top: 220px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
   padding: 20px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 877px;
    margin: 0 auto;
    max-height: 698px;
    overflow-y: auto;
	scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
.search-popup::-webkit-scrollbar {
    display: none;
}

.popup-section {
    font-size: 16px;
}
.popup-section-flex .search-card{
	padding-bottom:10px;
}

.hidden {
    display: none;
}

.popup-section-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #252525;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.popup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.popup-section-flex {
    display: flex;
    gap: 10px;
    justify-content: space-between;
	margin-top: -15px;
}

.popup-column {
    flex: 1;
}

.search-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 6px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.search-card:hover {
    background-color: #efefef;
}

.search-card a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    gap: 14px;
    width: 100%;
}

.search-card img {
    width: 100%;
    max-width: 72px !important;
    aspect-ratio: 4 / 5;
    height: auto !important;
    border-radius: 6px ! IMPORTANT;
    object-fit: cover;
    flex-shrink: 0;
}
.popup-section-flex .search-card img {
    aspect-ratio: 16 / 9;
}

.search-card .title {
    font-size: 15px;
    font-weight: 400;
    color: #252525;
    opacity: 70%;
	line-height:20px;
}

a.search-more-button {
    display: inline-block;
    color: #0B9B5C !important;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #0B9B5C;
    transition: all 0.3s ease;
    font-size: 15px;
    margin-bottom: -21px;
}

.search-more-button-wrapper {
    margin-top: -60px;
    text-align: center;
}

.popup-section-flex .search-more-button-wrapper {
    text-align: center;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .search-popup {
        max-height: 58vh;
        overflow-y: auto;
        padding: 20px 15px;
        top: 280px;
    }

    .search-more-button-wrapper {
        margin-top: 0px;
        text-align: center;
        margin-bottom: -10px;
    }
	
    #custom-search-input {
        font-size: 36px;
    }

    .popup-grid {
        grid-template-columns: 1fr;
    }

    .popup-section-flex {
        flex-direction: column;
        gap: 25px;
		margin-top:10px;
    }
    .search-bar-container {
    padding: 10px 0;
}
	.popup-section-flex .search-more-button-wrapper{
		padding-bottom: 20px;
	}

    .search-card .title {
        font-size: 15px;
    }
}