@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

:root {
    --mt-red: #e5211b;
    --mt-black: #111111;
    --mt-white: #ffffff;
    --mt-border: #d9d9d9;
}

.mt-locator-box,
.mt-locator-box * {
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

.mt-locator-box {
    background: var(--mt-white);
    border: 1px solid var(--mt-border);
    border-radius: 14px;
    padding: 24px;
    max-width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.mt-locator-title {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--mt-black);
    margin-bottom: 16px;
}

.mt-locator-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--mt-black);
    margin-bottom: 8px;
}

.mt-locator-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mt-locator-row input[type="text"] {
    flex: 1;
    height: 52px;
    border: 1px solid var(--mt-border);
    border-radius: 12px;
    padding: 0 16px;
    font-size: 16px;
      color: #000000 !important;
    background: var(--mt-white);
    outline: none;
}

.mt-locator-row input[type="text"]:focus {
    border-color: var(--mt-red);
    box-shadow: 0 0 0 3px rgba(229, 33, 27, 0.15);
	 color: var(--mt-black);
}

.mt-locator-row button {
    height: 52px;
    border: none;
    border-radius: 12px;
    padding: 0 20px;
    background: var(--mt-red);
    color: var(--mt-white);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.mt-locator-row button:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.mt-locator-row button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.mt-locator-feedback {
    /* margin-top: 14px; */
    min-height: 24px;
    font-size: 14px;
    color: var(--mt-black);
}

.mt-locator-feedback.is-error {
    color: var(--mt-red);
    font-weight: 700;
}

.mt-locator-feedback.is-success {
    color: var(--mt-black);
    font-weight: 700;
}

.mt-whatsapp-floating {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    /* background: var(--mt-red); */
    background: #24d366;
    color: var(--mt-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0,0,0,0.22);
    z-index: 99999;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mt-whatsapp-floating:hover {
    transform: translateY(-2px) scale(1.02);
    opacity: 0.95;
}

.mt-whatsapp-icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
}

.mt-whatsapp-icon svg {
    width: 100%;
    height: 100%;
}

#mt-postal-code{color:black!important}

@media (max-width: 767px) {
    .mt-locator-row {
        flex-direction: column;
        align-items: stretch;
    }

    .mt-locator-row button {
        width: 100%;
    }

    .mt-whatsapp-floating {
        right: 16px;
        bottom: 16px;
        width: 58px;
        height: 58px;
    }
}


#mt-postal-code {
    color: #000000 !important;
}

.mt-agency-card {
    margin-top: 6px;
    padding: 18px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    background: #ffffff;
    color: #111111;
}

.mt-agency-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.mt-agency-card-title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #111111;
}

.mt-agency-card-text {
    font-size: 14px;
    line-height: 1.5;
    color: #111111;
    margin-bottom: 10px;
}

.mt-agency-card-address {
    font-size: 14px;
    line-height: 1.5;
    color: #111111;
    margin-bottom: 14px;
}

.mt-agency-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.mt-agency-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    background: #e5211b;
    color: #ffffff !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mt-agency-card-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.mt-agency-change {
    border: 0;
    background: transparent;
    color: #111111;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.mt-agency-change:hover {
    color: #e5211b;
}


.mt-agency-card {
    display: flex;
    align-items: stretch;
    gap: 20px;
    /* margin-top: 10px; */
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    overflow: hidden;
}

.mt-agency-card-left {
    flex: 1;
    padding: 18px;
}

.mt-agency-card-right {
    width: 180px;
}

.mt-agency-card-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	/* width:130px!important; */
}

/* cacher l'image sur mobile */

@media (max-width: 768px) {

    .mt-agency-card {
        flex-direction: column;
    }

    .mt-agency-card-right {
        display: none;
    }

}