.modal-retirada {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
    font-family: 'OpenSans';
    
}

.modal-retirada:after {
    z-index: 99;
    content: '';
    background: rgba(0, 0, 0, .3);
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
}

.modal-retirada .content-modal {
    position: fixed;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    max-width: 380px;
    padding: 20px;
    top: 0;
    right: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: all .5s ease-in-out;

}

.modal-retirada.active .content-modal {
    transform: translateX(0);
}

.modal-retirada .title {
    color: #333;
    font-weight: 700;
    font-style: normal;
    line-height: 150%;
    font-size:20px;
    margin-bottom:1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-retirada.hidden {
    display: none;
}

.modal-retirada .farmacias {
    overflow-y: auto;
    max-height: calc(100% - 70px);
}

.farmacia {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.farmacia-dados {
    display: flex;
    flex-direction: column;
    gap:10px;        
}

.farmacia-nome {
    font-size: 16px;
    font-weight: 600;
}


.farmacia-horario span {
    font-size: 12px;
    color:#333;
}

.farmacia-horario .farmacia-status {
    color: #024881;
}

.farmacia-horario .farmacia-status.fechado {
    color: #ff0000;
}

.farmacia-endereco {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.farmacia-distancia {
    display: flex;
    align-items: center;
    gap: 5px;
}

button.fechar {
    background: transparent;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.voltar {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}

.voltar-texto {
    display: inline-flex;
    align-items: center;
    gap:5px;
    cursor: pointer
}


.btn-escolher,
.btn-continuar,
.btn-confirmar {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 15px;
    background-color: #024881;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-continuar:disabled,
.btn-confirmar:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.modal-retirada input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modal-retirada label {
    width: 100%;
    padding: 20px;
    margin-top: 12px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.modal-retirada label:hover {
    border-color: #666;
}

.farmacia-escolhida {
    border: 1px dashed #ddd;
    margin: 15px 0;
    padding: 15px;
    font-size: 14px;
    line-height: 20px;
}

.farmacia-escolhida span {
    font-weight: 600
}

.farmacia-frete {
    color: #666;
    margin-top: 5px;
}