/* =========================================================
   START – DAIVAVARNA MARKETPLACE LOCATION
   ========================================================= */

.dv-geo-clean {
    display: block !important;
    width: 100% !important;
}

.dv-geo-clean > *:not(.dv-geo-ui) {
    display: none !important;
}

.dv-geo-clean > .dv-geo-ui {
    display: block !important;
}

.dv-geo-ui {
    width: 100%;
}

.dv-geo-title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: #222;
}

.dv-geo-mode-label {
    margin-bottom: 8px;
    font-size: 13px;
    color: #777;
}

.dv-geo-mode {
    display: flex;
    width: 100%;
    padding: 4px;
    margin-bottom: 8px;
    background: #f3f3f3;
    border-radius: 30px;
}

.dv-geo-mode-btn {
    width: 50%;
    min-height: 38px;
    padding: 8px 10px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 25px !important;
    background: transparent !important;
    color: #555 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.dv-geo-mode-btn.active {
    background: #fff !important;
    color: #222 !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .10) !important;
}

.dv-geo-mode-help {
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.5;
    color: #999;
}

.dv-near-me-controls {
    display: none;
}

.dv-near-me-controls.active {
    display: block;
}

.dv-geo-location-status {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #777;
}

.dv-geo-location-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-bottom: 20px;
}

.dv-geo-location-wrap input[type="text"],
.dv-geo-location-wrap input[type="search"] {
    flex: 1;
    width: 100% !important;
    min-width: 0;
    height: 43px !important;
    padding: 0 13px !important;
    margin: 0 !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #333 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 43px !important;
}

.dv-geo-location-wrap input[type="text"]:focus,
.dv-geo-location-wrap input[type="search"]:focus {
    border-color: #f28a57 !important;
    outline: none !important;
    box-shadow: none !important;
}

.dv-geo-use-location {
    flex: 0 0 43px;
    width: 43px !important;
    min-width: 43px !important;
    height: 43px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e4e4e4 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 17px !important;
    line-height: 43px !important;
    text-align: center;
}

.dv-geo-use-location:hover {
    border-color: #f28a57 !important;
    background: #fff !important;
}

.dv-geo-radius-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.dv-geo-radius-label {
    font-size: 14px;
    color: #666;
}

.dv-geo-radius-value {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.dv-geo-slider,
.dv-geo-ui input.dv-geo-slider[type="range"],
.dv-geo-clean input.dv-geo-slider[type="range"] {
    --dv-progress: 5%;
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    width: 100% !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    padding: 0 !important;
    margin: 12px 0 6px !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
    outline-offset: 0 !important;
    cursor: pointer;
}

.dv-geo-slider:focus,
.dv-geo-slider:focus-visible,
.dv-geo-ui input.dv-geo-slider[type="range"]:focus,
.dv-geo-ui input.dv-geo-slider[type="range"]:focus-visible {
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: none !important;
}

.dv-geo-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 10px;
    background: linear-gradient(to right, #ff8b5c 0%, #ff8b5c var(--dv-progress), #484848 var(--dv-progress), #484848 100%);
}

.dv-geo-slider::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border: 0;
    border-radius: 50%;
    background: #ff8b5c;
    box-shadow: none;
    cursor: pointer;
}

.dv-geo-slider::-moz-range-track {
    width: 100%;
    height: 4px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 10px;
    background: #484848;
}

.dv-geo-slider::-moz-range-progress {
    height: 4px;
    border-radius: 10px;
    background: #ff8b5c;
}

.dv-geo-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: #ff8b5c;
    box-shadow: none;
    cursor: pointer;
}

.dv-geo-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

.dv-geo-area-status {
    display: none;
    margin: 8px 0 18px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f7f7f7;
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}

.dv-geo-radius-wrap {
    width: 100%;
}

.dv-geo-apply {
    display: block;
    width: 100% !important;
    margin-top: 18px !important;
    padding: 11px 16px !important;
    border: 0 !important;
    border-radius: 30px !important;
    background: #f3f3f3 !important;
    color: #222 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background .2s ease;
}

.dv-geo-apply:hover {
    background: #eaeaea !important;
}

.dv-geo-map {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid #e8e8e8;
}

.dv-geo-map summary {
    position: relative;
    padding: 7px 24px 7px 0;
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

.dv-geo-map summary::-webkit-details-marker {
    display: none;
}

.dv-geo-map summary::after {
    content: "▾";
    position: absolute;
    right: 0;
    top: 7px;
    font-size: 15px;
    transition: transform .2s ease;
}

.dv-geo-map[open] summary::after {
    content: "▴";
}

.dv-geo-map-content {
    width: 100%;
    margin-top: 12px;
}

.dv-geo-map-content #dokan-geolocation-locations-map,
.dv-geo-map-content .dokan-geolocation-locations-map,
.dv-geo-map-content [id*="dokan-geolocation"][id*="map"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    border-radius: 10px;
    overflow: hidden;
}

.dv-geo-map-content .gm-style {
    width: 100% !important;
    height: 100% !important;
}

.dv-map-message {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: #f7f7f7;
    font-size: 12px;
    line-height: 1.5;
    color: #777;
}

.pac-container {
    z-index: 999999 !important;
}

.dv-product-card-location,
.dv-single-product-location {
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    color: #777;
    font-weight: 400;
}

.dv-product-card-location {
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.4;
}

.dv-location-pin,
.dv-single-location-pin {
    flex-shrink: 0;
    line-height: 1;
}

.dv-location-pin {
    font-size: 11px;
}

.dv-location-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dv-single-product-location {
    margin: 10px 0 14px;
    font-size: 14px;
    line-height: 1.45;
}

/* Dokan product form option */
.dv-no-location-option {
    margin-top: 12px;
}

@media (max-width: 767px) {
    .dv-geo-title {
        font-size: 18px;
    }

    .dv-geo-mode-btn {
        font-size: 12px !important;
    }

    .dv-geo-location-wrap {
        gap: 6px;
    }

    .dv-geo-location-wrap input[type="text"],
    .dv-geo-location-wrap input[type="search"] {
        font-size: 12px !important;
    }

    .dv-geo-map-content #dokan-geolocation-locations-map,
    .dv-geo-map-content .dokan-geolocation-locations-map,
    .dv-geo-map-content [id*="dokan-geolocation"][id*="map"] {
        height: 240px !important;
        min-height: 240px !important;
    }
}

/* =========================================================
   END – DAIVAVARNA MARKETPLACE LOCATION
   ========================================================= */
