@font-face {
    font-family: 'DM Serif Display';
    src: url('DMSerifDisplay-Regular.ttf') format('ttf');
    /* Ajoutez d'autres formats si nécessaire */
    font-weight: normal;
    font-style: normal;
}





.shipping-calculator-button,
.woocommerce-shipping-destination,
.woocommerce-shipping-calculator,
.thalma-map-info, .display {
    display: none !important;
}

.thalma-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    top: 50%;
    left: 0;
    width: 80vw;
    height: 80vh;
    z-index: 10000;
    position: fixed;
    bottom: 50%;
    margin: auto;
}

.thalma-name-shop,
.thalma-title-map {
    font-family: 'Poppins', serif;
}
h3#thalma-name-show{
    font-size: 100%;
    padding-bottom: 0;
    color: #c08f75 !important;
}
/* .dialogdiv{
      display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
} */
.thalma-map-shop {
    display: flex;
    align-items: center;
    padding: 1vw;
    height: 70%
}

div#map {
    width: 50vw;
    height: 50vh;
}

.thalma-list-shop {
    height: 100%;
    padding-left: 1vw;
    overflow: auto;
    max-width: 40%;
}

.thalma-name-shop {
    display: inline;
}

.thalma-info-shop {
    font-size: 1rem;
}

/* #map{
    width: 300px;
} */
.woocommerce-shipping-methods li {
    list-style: none;
    margin: 0.5rem 0
}

.woocommerce-shipping-methods li label {
    /* pointer-events: none;  */
}

.thalma-form-select-shop {
    width: 50%;
}

.loading {
    opacity: 0.3;
}

.overflow {
    overflow: hidden
}
p#thalma-adress-show {
    font-weight: 500;
    font-size: 90%;
}

@media screen and (max-width: 600px) {

    .thalma-dialog {
        width: 95vw;
        height: 90vh;
        justify-content: space-evenly;
    }

    .thalma-map-shop {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-direction: column;
        height: 80%;
    }

    div#map {
        width: 90vw;
        height: 100vh;
    }

    .thalma-list-shop {

        max-width: 100%;
    }

    button#thalma-btn-map {
        text-align: left !important;
        margin: 0.5rem 0 !important;
    }
    button#thalma-btnclose{
        right: 5px;
        top:-1px;
        width: 32px !important;
        height: 32px;
    }
    button.thalma-btn-map-info {
        width: auto !important;
    }
    .thalma-btn-map{
        width: auto !important;
    } 
}

.thalma-btn-map {
    /* border-color: #2EA3F2 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 18px !important;
    line-height: 1.9em !important;
    padding: 5px 15px;
    border: 2px solid;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    margin: 1rem 0 !important;
    font-weight: 500; */
    padding: 0 !important;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}


.thalma-dialog-background {
    background-color: #808080e3;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1000000;
}

.thalma-btn-map-info {
    border-color: #2EA3F2 !important;
    background: #fff !important;
    color: #000 !important;
    line-height: 1.9em !important;
    border: 2px solid;
    border-radius: 3px;
    text-align: center;
    margin: 0.5rem 0 !important;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.thalma-btn-map-info:hover {
    box-shadow: inset 0 0 15px rgb(0 0 0 / 25%);
}

.thalma-btnclose {

    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: red;
    position: absolute;
    right: 4px;
    top: 4px;
}

.thalma-btnclose:hover {
    color: darkred;
    /* Couleur de l'icône au survol */
}


#shipping_method li input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0 8px 0 0;
    padding: 0;
    border: 2px solid #ccc;
    border-radius: 50%;
    vertical-align: middle;
    position: relative;
    top: 0;
    background: #fff;
    cursor: pointer;
}

#shipping_method li input[type="radio"]:checked {
    border-color: #f5a623; /* ta couleur orange */
    background: radial-gradient(circle, #f5a623 0 45%, #fff 50%);
}

ul#shipping_method > li > input{
    margin-top: 0 !important;
    vertical-align: middle !important; 
}

.thalma-select-shop{
    width: 100%;
    max-width: 400px;
    margin: 2px 0;
}