@font-face {
    font-family: 'iranyekan';
    src: url('../fonts/iranyekanwebregularfanum.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* اعمال فونت در کل افزونه با اولویت بالا */
html body.faktorak-scope,
html .faktorak-scope,
html .faktorak-scope *,
html .faktorak-scope *:before,
html .faktorak-scope *:after {
    font-family: 'iranyekan' !important;
}

/* ... (سایر استایل‌های فونت) ... */

li#toplevel_page_shipping-invoice-settings .wp-menu-name,
li#toplevel_page_shipping-invoice-settings .wp-menu-name * {
    font-family: 'iranyekan' !important;
}

/* --- Styles for Leaflet Map on Checkout Page --- */
.leaflet-bottom.leaflet-right {
    display: none;
}
#fb-map {
    border-radius: 18px;
    margin-bottom: 20px;
}
.fb-map-message {
    font-size: 1rem;
    margin: 15px 0;
}
.leaflet-top.leaflet-right {
    top: 20px;
    right: 20px;
    width: max(190px, 40%);
}
.leaflet-control-geocoder {
    margin: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 18px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);
}
.leaflet-control-geocoder-icon {
    border: none;
    margin-right: 5px;
}
.leaflet-control-geocoder-icon:hover,
.leaflet-control-geocoder-icon:focus {
    background-color: transparent !important;
}
.leaflet-control-geocoder-form {
    width: 70%;
    flex: 1;
}
.leaflet-control-geocoder-form-no-error,
.leaflet-control-geocoder-form input,
.leaflet-control-geocoder-alternatives {
    font-family: inherit;
    font-size: .8rem;
}
.leaflet-control-geocoder-form input {
    border: none;
    font-size: .85rem;
    width: 100%;
}
.leaflet-control-geocoder-form-no-error {
    width: 100%;
    margin: 0;
    padding: 10px;
}
.leaflet-control-geocoder-alternatives a {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2px;
}
.leaflet-control-geocoder-alternatives a br {
    display: none;
}


div#shipping_invoice_metabox {
    border-radius: 12px;
    padding: 5px;
    border-color: #e5e5e5;
}


#shipping_invoice_metabox .faktorak-scope a.faktorak-btn{
    padding: 10px;
}
