#map {
    height: calc(100vh - 200px);
}

.utopia-map-search__input {
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 300;
    height: 30px;
    margin-top: 16px;
    outline: none;
    padding: 0 11px 0 13px;
    text-overflow: ellipsis;
    width: 400px;
}

.utopia-map-search__input:focus {
    border-color: #4d90fe;
}

#shoppingCartButton, #inquiryFormButton, #businessPageButton, #partnerRedirectButton {
    color: #fff;            /* Button text color */
    border: none;             /* Remove button border */
    padding: 10px 0 10px 0;   /* Adjust padding for smaller size */
    font-size: 18px;          /* Reduce font size for smaller text */
    cursor: pointer;          /* Add cursor pointer on hover */
    border-radius: 5px;       /* Add border radius for rounded corners */
    width: 100%;              /* Full width button */
    margin-top: 25px;         /* Add space above button */
}

.utopia-map-type-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 16px 10px 10px;
    padding: 2px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.utopia-map-type-control__button {
    display: block;
    margin: 0;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #1f2937;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    min-height: 34px;
    padding: 8px 10px;
}

.utopia-map-type-control__button:hover {
    border-color: #9ca3af;
}

.utopia-map-type-control__button:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.utopia-map-type-control__button.is-active {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
}

/* CSS to hide map controls on screens smaller than 768px (typical mobile screens) */
@media screen and (max-width: 480px) {
    .utopia-map-search__input {
        width: calc(100vw - 40vw);
    }

    .utopia-map-type-control {
        margin: 16px 8px 8px;
        gap: 4px;
        padding: 2px;
    }

    .utopia-map-type-control__button {
        font-size: 12px;
        min-height: 30px;
        padding: 7px 8px;
    }
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    /* Semi-transparent white background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 4px solid #f3f3f3;
    /* Light grey border */
    border-top: 4px solid #3498db;
    /* Blue border on top */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    /* Spin animation */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#infowindow-content {
    display: none;
}

#map #infowindow-content {
    display: block;
    max-width: 250px !important;
}

#map #infowindow-content #place-content {
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    top: -0.25em;
}

